diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-09-07 04:37:13 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-09-07 04:37:13 +0000 |
commit | c40ed5131948495a30caac2efff7927b673cd2d0 (patch) | |
tree | 4ee7a43fa571f53a370e60d0be421f4c6927c97f /src/bin/psql/common.h | |
parent | 432ca9116bc51f6cfe6e88be33dbe6cb078cda9d (diff) |
Update this branch to match CVS head, includes WIN32 improvements.
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r-- | src/bin/psql/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h index 08ec84acdf2..72dffdf2ec0 100644 --- a/src/bin/psql/common.h +++ b/src/bin/psql/common.h @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.28 2003/08/08 04:52:21 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.h,v 1.28.2.1 2003/09/07 04:37:04 momjian Exp $ */ #ifndef COMMON_H #define COMMON_H @@ -37,6 +37,7 @@ extern PGresult *PSQLexec(const char *query, bool start_xact); 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 |