Re: safely exchanging primary keys?

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: safely exchanging primary keys?
Date: 2010-05-24 14:22:23
Message-ID: 4BFA8B9F.9060008@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

And relying on keys for a sort order is a very wrong tree :)

On 05/24/2010 08:05 AM, Louis-David Mitterrand wrote:
> On Mon, May 24, 2010 at 10:51:01AM +0200, Louis-David Mitterrand wrote:
>> Hi,
>>
>> I have this function which swaps primary keys for cabin_types (so that
>> id_cabin_type ordering reflects natural data ordering):
>
> Actually this function works fine. My problem was elsewhere. Sorry for
> barking up the wrong tree.
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tim Landscheidt 2010-05-24 14:38:39 Re: safely exchanging primary keys?
Previous Message Tom Lane 2010-05-24 14:22:22 Re: safely exchanging primary keys?