commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Alves Lima <email_danie...@yahoo.com.br>
Subject Re: How to run postgreSQL script from inside of another script
Date Wed, 03 Mar 2010 16:36:23 GMT
Juan is right. You can also try:

\cd /absolute/path/to/scripts/
\i script1.sql
\i script2.sql

http://www.postgresql.org/docs/8.1/static/app-psql.html



On Wed, 2010-03-03 at 09:56 -0500, Juan Romero wrote:
> On Wed, Mar 3, 2010 at 9:39 AM,  <siomara@portosdobrasil.gov.br> wrote:
> > Thanks for your feed back but \i script.sql does not work.
> >
> 
> Try with:
> 
> \i /absolute/path/to/scripts/script.sql
> 
> 
> Juan Gabriel Romero Silva
> Colombia

-- 
"If there must be trouble, let it be in my day, 
 that my child may have peace."

Thomas Paine



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message