Re: [GENERAL] newbie question: reading sql commands from script

2005-10-28 Thread basel novo
Thanks to all who answered this question! From: Brent Wood <[EMAIL PROTECTED]> To: basel novo <[EMAIL PROTECTED]> CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] newbie question: reading sql commands from script Date: Wed, 26 Oct 2005 10:36:34 +1300 (NZDT) On Tue, 25 Oct

Re: [GENERAL] newbie question: reading sql commands from script

2005-10-26 Thread Brent Wood
On Tue, 25 Oct 2005, basel novo wrote: > What is the equivalent of the mysql 'source' command for reading sql > commands from ascii script files? > I have not used mysql, so am not familiar with the source command, but to have postgres run a set of sql statements/queries from a file you can: p

Re: [GENERAL] newbie question: reading sql commands from script

2005-10-25 Thread Oliver Elphick
On Mon, 2005-10-24 at 20:39 -0400, Sean Davis wrote: > In psql, look at \i. > > Sean > > - Original Message - > From: basel novo > To: pgsql-general@postgresql.org > Sent: Monday, October 24, 2005 8:28 PM > Subject: [GENERAL] newbie question: r

Re: [GENERAL] newbie question: reading sql commands from script files

2005-10-24 Thread Sean Davis
Title: [GENERAL] newbie question: reading sql commands from script files In psql, look at \i.   Sean   - Original Message - From: basel novo To: pgsql-general@postgresql.org Sent: Monday, October 24, 2005 8:28 PM Subject: [GENERAL] newbie question: reading sq