pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Kulakov <paul.kulakov@systematica.ru>
To: pgsql-bugs@lists.postgresql.org
Subject: RE: BUG #18195: PL/pgSQL: invalid syntax allowed in SELECT INTO statement
Date: Wed, 15 Nov 2023 10:47:10 +0300
Message-ID: <001901da1797$f0bd4f90$d237eeb0$@systematica.ru> (raw)
References: <18195-95ee8b48a9d7cd93@postgresql.org>
	<2486681.1699975861@sss.pgh.pa.us>

This also permits the following syntax in PL/pgSQL:

do $sql$
declare _s text;
begin
   _s = '1' somegarbage;
end;
$sql$;

I understand why it works. But it looks really strange.






view thread (8+ messages)  latest in thread

Message-ID: <001901da1797$f0bd4f90$d237eeb0$@systematica.ru>
Permalink:  ../001901da1797$f0bd4f90$d237eeb0$@systematica.ru/
Also on:    postgresql.org/message-id/001901da1797$f0bd4f90$d237eeb0$@systematica.ru

 · 

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-bugs@postgresql.org
  Cc: paul.kulakov@systematica.ru, pgsql-bugs@lists.postgresql.org
  Subject: RE: BUG #18195: PL/pgSQL: invalid syntax allowed in SELECT INTO statement
  In-Reply-To: <001901da1797$f0bd4f90$d237eeb0$@systematica.ru>

* 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