From: Ekaterina Amez <ekaterina.amez@zunibal.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to plpgsql scripting
Date: Wed, 25 Mar 2020 14:06:43 +0100
Message-ID: <CAFijohgEFfNMk3KazcrO2KFcN08NYf5W4hyd8P5LyofN+EMVng@mail.gmail.com> (raw)
In-Reply-To: <CAKFQuwavJrzoNWiJW+pmgS+u1Vu9A2rmwG5m=Qc=cr2OM0RGyQ@mail.gmail.com>
References: <d556ead9-643c-92c6-e7a4-f335f6da0af5@zunibal.com>
<CAKFQuwavJrzoNWiJW+pmgS+u1Vu9A2rmwG5m=Qc=cr2OM0RGyQ@mail.gmail.com>
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.
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ekaterina.amez@zunibal.com, david.g.johnston@gmail.com
Subject: Re: How to plpgsql scripting
In-Reply-To: <CAFijohgEFfNMk3KazcrO2KFcN08NYf5W4hyd8P5LyofN+EMVng@mail.gmail.com>
References: <d556ead9-643c-92c6-e7a4-f335f6da0af5@zunibal.com> <CAKFQuwavJrzoNWiJW+pmgS+u1Vu9A2rmwG5m=Qc=cr2OM0RGyQ@mail.gmail.com> <CAFijohgEFfNMk3KazcrO2KFcN08NYf5W4hyd8P5LyofN+EMVng@mail.gmail.com>
* 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