From: Georg M. Sorst <georgsorst@gmx.de>
To: pgsql-jdbc@postgresql.org
Subject: Loading a dump containing include commands
Date: Wed, 29 Sep 2010 11:16:56 +0200
Message-ID: <4CA30408.4030800@gmx.de> (raw)
Hey list!
Is there a way to load a dump with include statements (\i something.sql)
with the Postgres JDBC driver? Both PGCopyOutputStream and the regular
Statement seem to choke on \i.
I am using postgresql-8.4-701.jdbc4.jar, the current Maven version.
Thanks and best regards,
Georg
--
Georg M. Sorst
http://vergiss-blackjack.de
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: georgsorst@gmx.de
Subject: Re: Loading a dump containing include commands
In-Reply-To: <4CA30408.4030800@gmx.de>
References: <4CA30408.4030800@gmx.de>
* 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