diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-03-06 04:45:21 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-03-06 04:45:21 +0000 |
commit | ca8f27998a789af126bbd938c10b160b052a57a7 (patch) | |
tree | 839f9fddff352b846382e0a3573b4b6f0fd7e570 /src/bin/psql/input.h | |
parent | 99114a2473a57384246e2f61c79b97ccd376acc8 (diff) | |
download | postgresql-ca8f27998a789af126bbd938c10b160b052a57a7.tar.gz postgresql-ca8f27998a789af126bbd938c10b160b052a57a7.zip |
In psql, save history of backslash commands used in multi-line
statements before the multi-line statement, rather than inside the
multi-line statement.
Diffstat (limited to 'src/bin/psql/input.h')
-rw-r--r-- | src/bin/psql/input.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/input.h b/src/bin/psql/input.h index 89c18386d0f..3b85d416705 100644 --- a/src/bin/psql/input.h +++ b/src/bin/psql/input.h @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/input.h,v 1.25 2006/03/05 15:58:51 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/input.h,v 1.26 2006/03/06 04:45:21 momjian Exp $ */ #ifndef INPUT_H #define INPUT_H @@ -39,9 +39,9 @@ char *gets_fromFile(FILE *source); void initializeInput(int flags); bool saveHistory(char *fname); -void pgadd_history(char *s, PQExpBuffer history_buf); -void pgclear_history(PQExpBuffer history_buf); -void pgflush_history(PQExpBuffer history_buf); +void pg_append_history(char *s, PQExpBuffer history_buf); +void pg_clear_history(PQExpBuffer history_buf); +void pg_write_history(char *s); #endif /* INPUT_H */ |