mirror of
https://github.com/postgres/postgres.git
synced 2025-05-08 07:21:33 +03:00
Force the regression databases to have bytea_output set to hex
Even if the installation defaults to escape output, this makes pg_regress make the setting hex, so that installcheck tests can pass in such a setting. Jeff Janes. Discussion: http://postgr.es/m/CAMkU=1xivkTNeyCfzhwdHJ+VH5qpU+4gsipRNuEUbyQf+KN3Kw@mail.gmail.com
This commit is contained in:
parent
b6fb534f10
commit
aa740b59a6
@ -1933,8 +1933,9 @@ create_database(const char *dbname)
|
||||
"ALTER DATABASE \"%s\" SET lc_monetary TO 'C';"
|
||||
"ALTER DATABASE \"%s\" SET lc_numeric TO 'C';"
|
||||
"ALTER DATABASE \"%s\" SET lc_time TO 'C';"
|
||||
"ALTER DATABASE \"%s\" SET bytea_output TO 'hex';"
|
||||
"ALTER DATABASE \"%s\" SET timezone_abbreviations TO 'Default';",
|
||||
dbname, dbname, dbname, dbname, dbname);
|
||||
dbname, dbname, dbname, dbname, dbname, dbname);
|
||||
|
||||
/*
|
||||
* Install any requested procedural languages. We use CREATE OR REPLACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user