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: (view raw, whole thread or download thread mbox)
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 M. Sorst


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-2017 The PostgreSQL Global Development Group