Re: [GENERAL] How can I compare sql create script with running database?

2008-06-05 Thread Raymond O'Donnell
On 05/06/2008 10:52, Bjørn T Johansen wrote: If I already have a running database, how can I compare the tables in the database with the sql script to discover the differences? You can use pg_dump with the -s option to dump the schema of the database, and run it through the diff tool of your

[GENERAL] How can I compare sql create script with running database?

2008-06-05 Thread Bjørn T Johansen
If I already have a running database, how can I compare the tables in the database with the sql script to discover the differences? Regards, BTJ -- --- Bjørn T Johansen [EMAIL PROTECTED]

Re: [GENERAL] How can I compare sql create script with running database?

2008-06-05 Thread Bjørn T Johansen
On Thu, 05 Jun 2008 11:06:36 +0100 Raymond O'Donnell [EMAIL PROTECTED] wrote: On 05/06/2008 10:52, Bjørn T Johansen wrote: If I already have a running database, how can I compare the tables in the database with the sql script to discover the differences? You can use pg_dump with the -s

Re: [GENERAL] How can I compare sql create script with running database?

2008-06-05 Thread Tino Wildenhain
Hi, Bjørn T Johansen wrote: On Thu, 05 Jun 2008 11:06:36 +0100 Raymond O'Donnell [EMAIL PROTECTED] wrote: On 05/06/2008 10:52, Bjørn T Johansen wrote: If I already have a running database, how can I compare the tables in the database with the sql script to discover the differences? You can

Re: [GENERAL] How can I compare sql create script with running database?

2008-06-05 Thread Bjørn T Johansen
On Thu, 05 Jun 2008 15:28:55 +0200 Tino Wildenhain [EMAIL PROTECTED] wrote: Hi, Bjørn T Johansen wrote: On Thu, 05 Jun 2008 11:06:36 +0100 Raymond O'Donnell [EMAIL PROTECTED] wrote: On 05/06/2008 10:52, Bjørn T Johansen wrote: If I already have a running database, how can I compare