Re: unique constraints

Поиск
Список
Период
Сортировка
От Kenneth Gonsalves
Тема Re: unique constraints
Дата
Msg-id 0401080950220V.02497@thenilgiris.com
обсуждение исходный текст
Ответ на Re: unique constraints  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Importation wtih copy generated some wrong registers..
Следующее
От: "Chris Travers"
Дата:
Сообщение: Re: Calendar Scripts - Quite a complex one