repo.or.cz
/
PostgreSQL.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git]
/
src
/
bin
/
psql
/
prompt.h
blob
c45d0cb0e6836fe13a6c9a5b8bc184c9acce74ea
1
/*
2
* psql - the PostgreSQL interactive terminal
3
*
4
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
5
*
6
* $PostgreSQL$
7
*/
8
#ifndef PROMPT_H
9
#define PROMPT_H
10
11
typedef
enum
_promptStatus
12
{
13
PROMPT_READY
,
14
PROMPT_CONTINUE
,
15
PROMPT_COMMENT
,
16
PROMPT_SINGLEQUOTE
,
17
PROMPT_DOUBLEQUOTE
,
18
PROMPT_DOLLARQUOTE
,
19
PROMPT_PAREN
,
20
PROMPT_COPY
21
}
promptStatus_t
;
22
23
char
*
get_prompt
(
promptStatus_t status
);
24
25
#endif
/* PROMPT_H */