Search Postgresql Archives

Re: PostgreSQL include directive in plpgsql language PL/pgSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David G. Johnston" <david.g.johnston@xxxxxxxxx> writes:
> On Friday, September 5, 2025, PALAYRET Jacques <jacques.palayret@xxxxxxxx>
> wrote:
>> Is there an equivalent of #include (include directive) in functions
>> (written in plpgsql language)?

> No, there is not.

And there won't be one in the future either, as it would
give server filesystem access to unprivileged SQL users.
(Admittedly just read-only access, but that's still not OK.)

Conceivably you could build some such facility into your
client-side code that is issuing CREATE FUNCTION commands.

			regards, tom lane





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux