aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-03-20 18:12:24 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-03-20 18:12:24 -0400
commitaa740b59a6841d29a0ce0206e61e99ba9531eba4 (patch)
tree5b15853bcc66415cbecd8e55e9a20acb0624ebcc /src
parentb6fb534f10e1dea17dc5641f44cc651b8d60d8f0 (diff)
downloadpostgresql-aa740b59a6841d29a0ce0206e61e99ba9531eba4.tar.gz
postgresql-aa740b59a6841d29a0ce0206e61e99ba9531eba4.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/pg_regress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index 2e58895066c..b685aeb1fa6 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -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