Re: proposal: plpgsql pragma statement

From: Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: proposal: plpgsql pragma statement
Date: 2018-12-05 14:03:17
Message-ID: 822d6608-a089-3404-5d3f-ed37089ffb3b@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> But maybe your extension could read the PERFORM statement preceding it
> and treat it as an annotation hint for the following statement.

In this case, comment line in some format will be better than real
PERFORM statement. Like this:

/*+PRAGMA cmdtype CREATE; */
EXECUTE format('CREATE TABLE xxx ...

-----
Pavel Luzanov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-12-05 14:05:20 Re: proposal: plpgsql pragma statement
Previous Message Alexey Bashtanov 2018-12-05 13:43:21 Re: proposal: plpgsql pragma statement