pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: aymen marouani <marouani.aymen@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Question
Date: Wed, 02 Sep 2009 09:19:12 -0600
Message-ID: <4A9E8CF0.7000607@gmail.com> (raw)
In-Reply-To: <bebe9cb90909020728we0a60eexa368cb07135896da@mail.gmail.com>
References: <bebe9cb90909020728we0a60eexa368cb07135896da@mail.gmail.com>

Call nextval first?

Too many quotes?

aymen marouani wrote:
> 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"');" 
>
> Thanks in advance. 
>
> Cordially.



view thread (19+ messages)  latest in thread

Message-ID: <4A9E8CF0.7000607@gmail.com>
Permalink:  ../4A9E8CF0.7000607@gmail.com/
Also on:    postgresql.org/message-id/4A9E8CF0.7000607@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, marouani.aymen@gmail.com
  Subject: Re: Question
  In-Reply-To: <4A9E8CF0.7000607@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