aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/common.c')
-rw-r--r--src/bin/psql/common.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c
index 925fe34a3fd..7a95465111a 100644
--- a/src/bin/psql/common.c
+++ b/src/bin/psql/common.c
@@ -2154,9 +2154,6 @@ is_select_command(const char *query)
/*
* Test if the current user is a database superuser.
- *
- * Note: this will correctly detect superuserness only with a protocol-3.0
- * or newer backend; otherwise it will always say "false".
*/
bool
is_superuser(void)
@@ -2177,9 +2174,6 @@ is_superuser(void)
/*
* Test if the current session uses standard string literals.
- *
- * Note: With a pre-protocol-3.0 connection this will always say "false",
- * which should be the right answer.
*/
bool
standard_strings(void)
@@ -2200,10 +2194,6 @@ standard_strings(void)
/*
* Return the session user of the current connection.
- *
- * Note: this will correctly detect the session user only with a
- * protocol-3.0 or newer backend; otherwise it will return the
- * connection user.
*/
const char *
session_username(void)