pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: safely exchanging primary keys?
Date: Mon, 24 May 2010 08:22:23 -0600
Message-ID: <4BFA8B9F.9060008@gmail.com> (raw)
In-Reply-To: <20100524140522.GA31971@apartia.fr>
References: <20100524085101.GA21249@apartia.fr>
	<20100524140522.GA31971@apartia.fr>

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.
> 



view thread (9+ messages)  latest in thread

Message-ID: <4BFA8B9F.9060008@gmail.com>
Permalink:  ../4BFA8B9F.9060008@gmail.com/
Also on:    postgresql.org/message-id/4BFA8B9F.9060008@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: safely exchanging primary keys?
  In-Reply-To: <4BFA8B9F.9060008@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox