| From: | Volkan YAZICI <yazicivo(at)ttmail(dot)com> |
|---|---|
| To: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: compare 2 tables in sql |
| Date: | 2008-03-19 19:09:34 |
| Message-ID: | 87tzj27cpd.fsf@alamut.mobiliz.com.tr |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On Wed, 19 Mar 2008, "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> writes:
> Is there a sql way to compare (in a diff/cmp sense)
> 2 tables?
You can diff "pg_dump --schema-only" output of the related tables. (I
attached an ad-hoc script once I wrote to use for such stuff.) I don't
know about [php]pgadmin, but (IIRC) EMS products offer that
functionality.
Regards.
| Attachment | Content-Type | Size |
|---|---|---|
| pg_difftable | application/octet-stream | 888 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Preston Landers | 2008-03-19 20:24:12 | Re: pg_dump using SQL |
| Previous Message | Christopher Crews | 2008-03-19 19:02:25 | Date and filling issues |