Re: A PGsendQuery API design for your review

From: "Karl O(dot) Pinc" <kop(at)meme(dot)com>
To: Joe Abbate <jma(at)freedomcircle(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: A PGsendQuery API design for your review
Date: 2016-02-05 14:27:03
Message-ID: 20160205082703.2ecaf9d1@slate.meme.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Fri, 05 Feb 2016 08:17:17 -0500
Joe Abbate <jma(at)freedomcircle(dot)com> wrote:

> > Gotta wonder how it will do with:
> >
> > SELECT $;$Hello World.$;$;
>
> It does give a syntax error on that exact statement

Ah. That would make sense because that's illegal SQL. :-)

"The tag, if any, of a dollar-quoted string follows the same rules as an
unquoted identifier, except that it cannot contain a dollar sign."

Karl <kop(at)meme(dot)com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

In response to

Browse psycopg by date

  From Date Subject
Next Message Vardhan 2016-02-09 09:31:45 server side cursors update & delete,
Previous Message Joe Abbate 2016-02-05 13:17:17 Re: A PGsendQuery API design for your review