1
0
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:
Bruce Momjian
1999-11-04 21:56:02 +00:00
parent 2ea3b6d63a
commit a45195a191
30 changed files with 7026 additions and 152 deletions

19
src/bin/psql/prompt.h Normal file
View 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 */