From: rob stone <floriparob@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: deallocate statement failing
Date: Fri, 07 Feb 2020 17:46:25 +1100
Message-ID: <1c6aff52e04120962eef422db8f31fb40bd64dc3.camel@gmail.com> (raw)
In-Reply-To: <30795.1581054522@sss.pgh.pa.us>
References: <c848191d39564916a0205ecd0c1336cb5f0bc929.camel@gmail.com>
<30795.1581054522@sss.pgh.pa.us>
On Fri, 2020-02-07 at 00:48 -0500, Tom Lane wrote:
> rob stone <floriparob@gmail.com> writes:
> > 2020-02-07 15:42:55 AEDT ERROR: syntax error at or near
> > "'AIT1581050529'" at character 13
> > 2020-02-07 15:42:55 AEDT STATEMENT: DEALLOCATE 'AIT1581050529'
> > The deallocate statement fails. It doesn't matter if it is just
> > "DEALLOCATE" or "DEALLOCATE PREPARE".
>
> I think you want double quotes not single quotes. The argument
> of DEALLOCATE is an SQL identifier, not a string literal.
>
> regards, tom lane
That worked. Thanks.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: floriparob@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: deallocate statement failing
In-Reply-To: <1c6aff52e04120962eef422db8f31fb40bd64dc3.camel@gmail.com>
References: <c848191d39564916a0205ecd0c1336cb5f0bc929.camel@gmail.com> <30795.1581054522@sss.pgh.pa.us> <1c6aff52e04120962eef422db8f31fb40bd64dc3.camel@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