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

Re: [PATCHES] Non-colliding auto generated names

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Non-colliding auto generated names
Date: 2003-03-06 01:55:03
Message-ID: 021d01c2e383$67b3e920$6500a8c0@fhp.internal (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
> Ewe.  There would no longer be a guaranteed name for the serial column
> sequence.  Of course, pg_depend has the information, but how do you get
> at that when you create the dump file, and be _sure_ you are going to
> hit the right name, especially if you restore only part of the dump.
>
> Seems this kills the idea of this patch.  With 64-byte names, let's see
> if we still get complaints about name conflicts.

It does, but if Rod's domain / ALTER SEQUENCE idea goes ahead, this patch
becomes useful again.

We will still get complains because the problem occurs when you _rename_ a
table and then re-create it.

Chris


In response to

pgsql-hackers by date

Next:From: Bob CalcoDate: 2003-03-06 01:58:35
Subject: Re: XML ouput for psql
Previous:From: Tatsuo IshiiDate: 2003-03-06 01:35:16
Subject: Re: Win32 Powerfail testing

pgsql-patches by date

Next:From: Christopher Kings-LynneDate: 2003-03-06 02:04:58
Subject: Re: [PATCHES] Non-colliding auto generated names
Previous:From: Joe ConwayDate: 2003-03-06 01:32:04
Subject: Re: XML ouput for psql

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