summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-01 08:59:49 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-01 08:59:49 +0200
commit769032ebbbc2bf8f72dbfce13b39cf0e450f17c7 (patch)
treec1a08840b5d9245654846484031afc30ae7bfba5 /tests
parent6297d437585be15616a47802c84f592447ed5cdd (diff)
downloadpgfuse-769032ebbbc2bf8f72dbfce13b39cf0e450f17c7.tar.gz
pgfuse-769032ebbbc2bf8f72dbfce13b39cf0e450f17c7.tar.bz2
ids and block numbers are bigints too now
fixed a UMR in psql_read_buf
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
-rw-r--r--tests/testpgsql.c9
2 files changed, 10 insertions, 1 deletions
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;