From 769032ebbbc2bf8f72dbfce13b39cf0e450f17c7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 1 May 2012 08:59:49 +0200 Subject: ids and block numbers are bigints too now fixed a UMR in psql_read_buf --- tests/Makefile | 2 +- tests/testpgsql.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index a092b40..859677f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,7 +2,7 @@ include ../inc.mak PG_CONNINFO = "" -test: testfsync testpgsql +test: testfsync testpgsql testtypes psql < clean.sql psql < ../schema.sql test -d mnt || mkdir mnt diff --git a/tests/testpgsql.c b/tests/testpgsql.c index 3159e2d..ccd4efe 100644 --- a/tests/testpgsql.c +++ b/tests/testpgsql.c @@ -149,6 +149,15 @@ int main( int argc, char *argv[] ) return 1; } + value = PQparameterStatus( conn, "client_encoding" ); + if( value == NULL ) { + fprintf( stderr, "PQ param client_encoding empty?\n" ); + PQfinish( conn ); + return 1; + } + + printf( "integer_datetimes: %s\n", value ); + PQfinish( conn ); return 0; -- cgit v1.2.3-54-g00ecf