Re: pg_dump and serial

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: pg_dump and serial
Date: 2000-04-06 16:07:53
Message-ID: Pine.BSF.4.05.10004061207370.2679-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 6 Apr 2000, Tom Lane wrote:

> Vince Vielhaber <vev(at)michvhf(dot)com> writes:
> > IIRC there was a problem with pg_dump and the serial datatype.
>
> ? I've been dumping/restoring serials for a long time without problems.
> The only gotcha I can think of is that dumping a single table (-t foo)
> doesn't work nicely --- pg_dump doesn't realize that the sequence for
> a serial column of foo needs to be included. But as long as you're
> dumping a whole database, no problem.
>

Cool!

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Theo Kramer 2000-04-06 16:09:02 Re: 7.1 items
Previous Message Karel Zak 2000-04-06 16:02:27 Re: 7.1 items