Re: [GENERAL] Query is too long - thanks

1999-01-15 Thread Silvio Emanuel Barbosa de Macedo
On Fri, 15 Jan 1999, Bob Dusek wrote: >Sorry, >> One way to execute .sql scripts in your database is this: >> psql -e dbname < script.sql >> good luck, >> Bob Ohh... sorry... I forgot to thank you! Thank you... :) Silvio Emanuel Nunes Barbosa de Macedo mailto:[EMAIL PROTECTED]

Re: [GENERAL] Query is too long

1999-01-15 Thread Silvio Emanuel Barbosa de Macedo
On Fri, 15 Jan 1999, Bob Dusek wrote: >Sorry, >I should have been more clear: >> One way to execute .sql scripts in your database is this: >> psql -e dbname < script.sql >That should be done from the command line. Yes... I imagined Anyway, Query Buffer being full I CAN understand..., but c

Re: [GENERAL] Query is too long

1999-01-15 Thread Bob Dusek
Sorry, I should have been more clear: > One way to execute .sql scripts in your database is this: > > psql -e dbname < script.sql That should be done from the command line. > That is how we recreate our databases from a dump file. > > "psql -ef script.sql dbname" seems to have the same pro

Re: [GENERAL] Query is too long

1999-01-15 Thread Bob Dusek
Hey there, One way to execute .sql scripts in your database is this: psql -e dbname < script.sql That is how we recreate our databases from a dump file. "psql -ef script.sql dbname" seems to have the same problem you were having with the \i command: query buffer max length of 2 exceeded

[GENERAL] Query is too long

1999-01-15 Thread Silvio Emanuel Barbosa de Macedo
Hi! I was using psql to insert data into the database. I have *.sql files with the necessary scripts, eg: insert into descritor values (4992,'MARCHAS DE LISBOA','te','cl'); After many inserts... I've got this message: query buffer max length of 2 exceeded query line ignored and then, a fe