Re: [GENERAL] creating tables using a file

2009-02-10 Thread A. Kretschmer
In response to Kusuma Pabba : > hello all, >i have used a file containing all the queries and directly executed > the file to create tables in mysql, now i want to use the same for psql > is it > possible? Sure, psql -f or within psql with \i. Andreas -- Andreas Kretschmer Kontakt: Heyn

Re: [GENERAL] creating tables using a file

2009-02-10 Thread Craig Ringer
Kusuma Pabba wrote: > hello all, >i have used a file containing all the queries and directly executed > the file to create tables in mysql, now i want to use the same for psql > is it > possible? psql -f filename.sql > Do i need to make any changes to the file? Lots. PostgreSQL and MySQL ha

[GENERAL] creating tables using a file

2009-02-10 Thread Kusuma Pabba
hello all, i have used a file containing all the queries and directly executed the file to create tables in mysql, now i want to use the same for psql is it possible? if yes how? Do i need to make any changes to the file? Thanks for any help Regards kusuma.p -- Sent via pgsql-general ma