1
0
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:
Bruce Momjian
2005-05-30 18:28:11 +00:00
parent 33294d57c7
commit 3e8dbc846c
3 changed files with 5 additions and 24 deletions

View File

@@ -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.
*