diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
new file mode 100644
index d4d00d9..28857ee
*** a/src/test/regress/pg_regress.c
--- b/src/test/regress/pg_regress.c
*************** create_database(const char *dbname)
*** 1927,1934 ****
  				 "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 timezone_abbreviations TO 'Default';",
! 				 dbname, dbname, dbname, dbname, dbname);
  
  	/*
  	 * Install any requested procedural languages.  We use CREATE OR REPLACE
--- 1927,1935 ----
  				 "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);
  
  	/*
  	 * Install any requested procedural languages.  We use CREATE OR REPLACE
