Re: How to plpgsql scripting - Mailing list pgsql-general

From Ekaterina Amez
Subject Re: How to plpgsql scripting
Date
Msg-id CAFijohgEFfNMk3KazcrO2KFcN08NYf5W4hyd8P5LyofN+EMVng@mail.gmail.com
Whole thread Raw
In response to Re: How to plpgsql scripting  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general

El mié., 25 mar. 2020 a las 13:54, David G. Johnston (<david.g.johnston@gmail.com>) escribió:
On Wednesday, March 25, 2020, Ekaterina Amez <ekaterina.amez@zunibal.com> wrote:

What's wrong with the syntax? Or is not possible to make a script and I have to create a function to encapsulate my code?

This not working exactly the reason the “DO” command was created..... 

Thank you David, I was beginning to suppose this.


David J.

pgsql-general by date:

Previous
From: Ekaterina Amez
Date:
Subject: Re: How to plpgsql scripting
Next
From: Durumdara
Date:
Subject: PLPGSQL: when the local variable used and when the table field?