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.c,v 1.97 2005/04/28 13:09:59 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.98 2005/05/30 18:28:11 momjian Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "common.h"
|
||||
@@ -1237,17 +1237,6 @@ command_no_begin(const char *query)
|
||||
}
|
||||
|
||||
|
||||
char
|
||||
parse_char(char **buf)
|
||||
{
|
||||
long l;
|
||||
|
||||
l = strtol(*buf, buf, 0);
|
||||
--*buf;
|
||||
return (char) l;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Test if the current user is a database superuser.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user