Re: pg_dump and DEFAULT column values

From: "Eric Ridge" <ebr(at)tcdi(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump and DEFAULT column values
Date: 2001-11-06 22:10:45
Message-ID: D3ADE25911614840BC69C72E3171E4ED028130@tcdiexch.tcdi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> pg_dump has a hard time with circular dependencies :-(

but on the plus side, pg_dump is really fast! much faster than dump
utilities of other databases I've seen.

> Have you considered using a sequence, rather than generating
> new values
> as shown above? The approach you are using is extremely fragile:
> consider what happens if two backends try to insert at the same time.

a sequence it is! thanks.

eric

Browse pgsql-general by date

  From Date Subject
Next Message Martín Marqués 2001-11-06 22:19:25 Re: Sourceforge moving from PostgreSQL to Oracle
Previous Message wsheldah 2001-11-06 22:05:05 Re: functions vs embedded SQL