pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: carmentl12 <hrodriguez@facinf.uho.edu.cu>
To: pgsql-jdbc@postgresql.org
Subject: Re: Problem with client_encoding UTF8
Date: Thu, 30 Aug 2012 07:12:57 -0700 (PDT)
Message-ID: <1346335977524-5721903.post@n5.nabble.com> (raw)
In-Reply-To: <1345831369323-5721132.post@n5.nabble.com>
References: <1345831369323-5721132.post@n5.nabble.com>

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.




view thread (2+ messages)

Message-ID: <1346335977524-5721903.post@n5.nabble.com>
Permalink:  ../1346335977524-5721903.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1346335977524-5721903.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: hrodriguez@facinf.uho.edu.cu
  Subject: Re: Problem with client_encoding UTF8
  In-Reply-To: <1346335977524-5721903.post@n5.nabble.com>
  References: <1345831369323-5721132.post@n5.nabble.com> <1346335977524-5721903.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox