1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Ooops, missed that a couple of contrib modules have calls to byteacmp.

Add bytea.h inclusions as needed.  Some of the contrib regression tests
need to be de-hexified, too.  Per buildfarm.
This commit is contained in:
Tom Lane
2009-08-04 18:49:50 +00:00
parent 5b8ee5c128
commit bcba09e27c
20 changed files with 54 additions and 51 deletions

View File

@ -1,6 +1,8 @@
--
-- Blowfish cipher
--
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
-- some standard Blowfish testvalues
SELECT encode(encrypt(

View File

@ -12,6 +12,9 @@ SET client_min_messages = warning;
\set ECHO all
RESET client_min_messages;
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
-- check for encoding fn's
SELECT encode('foo', 'hex');
SELECT decode('666f6f', 'hex');

View File

@ -1,6 +1,8 @@
--
-- PGP Armor
--
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
select armor('');
select armor('test');

View File

@ -1,6 +1,8 @@
--
-- PGP encrypt
--
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
select pgp_sym_decrypt(pgp_sym_encrypt('Secret.', 'key'), 'key');

View File

@ -1,6 +1,8 @@
--
-- PGP Public Key Encryption
--
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
-- successful encrypt/decrypt
select pgp_pub_decrypt(

View File

@ -1,6 +1,8 @@
--
-- AES / Rijndael-128 cipher
--
-- ensure consistent test output regardless of the default bytea format
SET bytea_output TO escape;
-- some standard Rijndael testvalues
SELECT encode(encrypt(