Skip site navigation (1) Skip section navigation (2)

Re: Problem with client_encoding UTF8

From: carmentl12 <hrodriguez(at)facinf(dot)uho(dot)edu(dot)cu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with client_encoding UTF8
Date: 2012-08-30 14:12:57
Message-ID: 1346335977524-5721903.post@n5.nabble.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I found a possible solution: instead of read the contents of the script I
execute it with the command psql like this,

Runtime.getRuntime().exec("psql -U " + user + " -h " + host + " -d " +
dbName + " -f " + path);



--
View this message in context: http://postgresql.1045698.n5.nabble.com/Problem-with-client-encoding-UTF8-tp5721132p5721903.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


In response to

pgsql-jdbc by date

Next:From: Craig RingerDate: 2012-08-31 01:24:33
Subject: Re: not fetching all query results
Previous:From: Radim KolarDate: 2012-08-30 12:46:34
Subject: Re: not fetching all query results

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group