client_encoding_test_linux.txt

text/plain

Filename: client_encoding_test_linux.txt
Type: text/plain
Part: 0
Message: Re: Determining client_encoding from client locale
postgres@casanova1:~/pg_releases/pgtests$ ldd ./test-libpq
	linux-vdso.so.1 =>  (0x00007fffad1ff000)
	libpq.so.5 => /usr/local/pgsql/head.client_encoding/lib/libpq.so.5 (0x00007fdea4c48000)
	libc.so.6 => /lib/libc.so.6 (0x00007fdea48f5000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fdea46bd000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fdea4e6a000)

postgres@casanova1:~/pg_releases/pgtests$ ./test-libpq "dbname=postgres user=postgres  client_encoding=auto"
PostgreSQL version(): PostgreSQL 8.5devel on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit
client_encoding: SQL_ASCII

postgres@casanova1:~/pg_releases/pgtests$ ./test-libpq "dbname=postgres user=postgres  client_encoding=latin1"
PostgreSQL version(): PostgreSQL 8.5devel on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit
client_encoding: latin1