pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: unique constraints
Date: Thu, 8 Jan 2004 09:50:22 +0530
Message-ID: <0401080950220V.02497@thenilgiris.com> (raw)
In-Reply-To: <20040107103147.A11576@quality.qadas.com>
References: <0401071947320T.02497@thenilgiris.com>
	<20040107103147.A11576@quality.qadas.com>

On Wednesday 07 January 2004 23:01, Michael Fuhr wrote:
> On Wed, Jan 07, 2004 at 07:47:32PM +0530, Kenneth Gonsalves wrote:
> > in 7.4 i'm getting an error message - UNIQUE constraint matching keys for
> > table 'xxx' not found - any clues?
>
> It would be helpful to see the *exact* wording of the error message and
> the SQL statements that can be used to reproduce the error.
ok, got it now - the key in question was a 'serial' key. in older versions of 
postgres, since serial keys are anyway unique, apparently we could get away 
with not explicitly giving an unique constraint - sigh, a lot of work lies 
ahead ... 
-- 
regards
kg

http://www.ootygolfclub.org
poor man's tally: http://avsap.sourceforge.net



view thread (3+ messages)

Message-ID: <0401080950220V.02497@thenilgiris.com>
Permalink:  ../0401080950220V.02497@thenilgiris.com/
Also on:    postgresql.org/message-id/0401080950220V.02497@thenilgiris.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: lawgon@thenilgiris.com, mike@fuhr.org
  Subject: Re: unique constraints
  In-Reply-To: <0401080950220V.02497@thenilgiris.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