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

Loading a dump containing include commands

From: "Georg M(dot) Sorst" <georgsorst(at)gmx(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Loading a dump containing include commands
Date: 2010-09-29 09:16:56
Message-ID: 4CA30408.4030800@gmx.de (view raw or flat)
Thread:
Lists: pgsql-jdbc
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

Responses

pgsql-jdbc by date

Next:From: Kevin GrittnerDate: 2010-09-29 11:54:54
Subject: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Previous:From: Radosław SmoguraDate: 2010-09-29 08:52:56
Subject: Re: setQueryTimout()

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