diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 08:59:49 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 08:59:49 +0200 |
commit | 769032ebbbc2bf8f72dbfce13b39cf0e450f17c7 (patch) | |
tree | c1a08840b5d9245654846484031afc30ae7bfba5 /tests | |
parent | 6297d437585be15616a47802c84f592447ed5cdd (diff) | |
download | pgfuse-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/Makefile | 2 | ||||
-rw-r--r-- | tests/testpgsql.c | 9 |
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; |