mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
Support only octal for psql PROMPT values, rather than the confusing
hex/decimal/octal. Documentation already updated. BACKWARD COMPATIBLE CHANGE
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.42 2005/01/01 05:43:08 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.43 2005/05/30 18:28:11 momjian Exp $
|
||||
*/
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
@@ -60,12 +60,6 @@ extern bool SendQuery(const char *query);
|
||||
extern bool is_superuser(void);
|
||||
extern const char *session_username(void);
|
||||
|
||||
/* Parse a numeric character code from the string pointed at by *buf, e.g.
|
||||
* one written as 0x0c (hexadecimal) or 015 (octal); advance *buf to the last
|
||||
* character of the numeric character code.
|
||||
*/
|
||||
extern char parse_char(char **buf);
|
||||
|
||||
extern char *expand_tilde(char **filename);
|
||||
|
||||
#endif /* COMMON_H */
|
||||
|
||||
Reference in New Issue
Block a user