diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-25 22:12:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-25 22:12:34 +0000 |
commit | e5d6b91220d69c87f44e1ce0095516946abc6d6c (patch) | |
tree | 004dd158466d5b8e9322a8a78bd5f68d0253af4b /src/include/commands/variable.h | |
parent | f5df006a04bdaed8ca8e7595bdd5c7c037d65dab (diff) | |
download | postgresql-e5d6b91220d69c87f44e1ce0095516946abc6d6c.tar.gz postgresql-e5d6b91220d69c87f44e1ce0095516946abc6d6c.zip |
Add SET ROLE. This is a partial commit of Stephen Frost's recent patch;
I'm still working on the has_role function and information_schema changes.
Diffstat (limited to 'src/include/commands/variable.h')
-rw-r--r-- | src/include/commands/variable.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index f3d4dc681c8..9814336325d 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/variable.h,v 1.25 2004/12/31 22:03:28 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/commands/variable.h,v 1.26 2005/07/25 22:12:34 tgl Exp $ */ #ifndef VARIABLE_H #define VARIABLE_H @@ -26,6 +26,9 @@ extern bool assign_random_seed(double value, extern const char *show_random_seed(void); extern const char *assign_client_encoding(const char *value, bool doit, GucSource source); +extern const char *assign_role(const char *value, + bool doit, GucSource source); +extern const char *show_role(void); extern const char *assign_session_authorization(const char *value, bool doit, GucSource source); extern const char *show_session_authorization(void); |