Skip to content

Commit aa740b5

Browse files
committed
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
1 parent b6fb534 commit aa740b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/regress/pg_regress.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,8 +1933,9 @@ create_database(const char *dbname)
19331933
"ALTER DATABASE \"%s\" SET lc_monetary TO 'C';"
19341934
"ALTER DATABASE \"%s\" SET lc_numeric TO 'C';"
19351935
"ALTER DATABASE \"%s\" SET lc_time TO 'C';"
1936+
"ALTER DATABASE \"%s\" SET bytea_output TO 'hex';"
19361937
"ALTER DATABASE \"%s\" SET timezone_abbreviations TO 'Default';",
1937-
dbname, dbname, dbname, dbname, dbname);
1938+
dbname, dbname, dbname, dbname, dbname, dbname);
19381939

19391940
/*
19401941
* Install any requested procedural languages. We use CREATE OR REPLACE

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy