mirror of
https://github.com/postgres/postgres.git
synced 2025-12-15 02:22:24 +03:00
Major psql overhaul by Peter Eisentraut.
This commit is contained in:
19
src/bin/psql/prompt.h
Normal file
19
src/bin/psql/prompt.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef PROMPT_H
|
||||
#define PROMPT_H
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
typedef enum _promptStatus {
|
||||
PROMPT_READY,
|
||||
PROMPT_CONTINUE,
|
||||
PROMPT_COMMENT,
|
||||
PROMPT_SINGLEQUOTE,
|
||||
PROMPT_DOUBLEQUOTE,
|
||||
PROMPT_COPY
|
||||
} promptStatus_t;
|
||||
|
||||
const char *
|
||||
get_prompt(PsqlSettings *pset, promptStatus_t status);
|
||||
|
||||
|
||||
#endif /* PROMPT_H */
|
||||
Reference in New Issue
Block a user