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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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