Re: Nested-Internal Functions

2024-01-18 Thread Pavel Stehule
Januar 2024 15:42 > An: Rossana Ocampos; pgsql-general@lists.postgresql.org > Betreff: Re: Nested-Internal Functions > > On Tue, 2024-01-16 at 13:15 +0100, Rossana Ocampos wrote: > > I have a query about creating nested functions in PostgreSQL. > > There are no "nested fu

AW: Nested-Internal Functions

2024-01-18 Thread Rossana Ocampos
[mailto:laurenz.a...@cybertec.at] Gesendet: Dienstag, 16. Januar 2024 15:42 An: Rossana Ocampos; pgsql-general@lists.postgresql.org Betreff: Re: Nested-Internal Functions On Tue, 2024-01-16 at 13:15 +0100, Rossana Ocampos wrote: > I have a query about creating nested functions in PostgreSQL. There are

Re: Nested-Internal Functions

2024-01-16 Thread Laurenz Albe
On Tue, 2024-01-16 at 13:15 +0100, Rossana Ocampos wrote: > I have a query about creating nested functions in PostgreSQL. There are no "nested functions" in PostgreSQL. You'd need to rewrite that to use a proper stand-alone function. Yours, Laurenz Albe

Re: Nested-Internal Functions

2024-01-16 Thread David G. Johnston
On Tuesday, January 16, 2024, Rossana Ocampos wrote: > *Hello ,* > > *I have a query about creating nested functions in PostgreSQL.* > > *I am currently using PostgreSQL 15 and I am trying to create a nested > function with the following structure:* > > *CREATE OR REPLACE FUNCTION external_functi

Aw: Nested-Internal Functions

2024-01-16 Thread Karsten Hilbert
> I am currently using PostgreSQL 15 and I am trying to create a nested > function with the following structure: ...   > However, I get an error What *is* the error ? Karsten

Nested-Internal Functions

2024-01-16 Thread Rossana Ocampos
Hello , I have a query about creating nested functions in PostgreSQL. I am currently using PostgreSQL 15 and I am trying to create a nested function with the following structure: CREATE OR REPLACE FUNCTION external_function () RETURNS void AS $$ DECLARE external_variable; -- Define