Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Theo KramerDate: 2000-04-06 16:09:02
Subject: Re: 7.1 items
Previous:From: Karel ZakDate: 2000-04-06 16:02:27
Subject: Re: 7.1 items

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group