Re: Question - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: Question
Date
Msg-id 20090903063200.GA18836@a-kretschmer.de
Whole thread Raw
In response to Question  (aymen marouani <marouani.aymen@gmail.com>)
List pgsql-sql
In response to aymen marouani :
> Hi for all,
> What is the possible sources of the SQLState 55000 "OBJECT NOT IN PREREQUISITE
> STATE" ?
> The error 55000 was triggered when I executed the following query :
> "select currval('"BatchTreatment_batch_treatment_id_seq"');"

Within this session, first call nextval() for this sequence.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


pgsql-sql by date:

Previous
From: Lew
Date:
Subject: Re: Odd sort behaviour
Next
From: bilal ghayyad
Date:
Subject: LIMIT 1; The Integer part only