Re: How to plpgsql scripting

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ekaterina Amez <ekaterina(dot)amez(at)zunibal(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to plpgsql scripting
Date: 2020-03-25 12:54:45
Message-ID: CAKFQuwavJrzoNWiJW+pmgS+u1Vu9A2rmwG5m=Qc=cr2OM0RGyQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, March 25, 2020, Ekaterina Amez <ekaterina(dot)amez(at)zunibal(dot)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.....

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Richter 2020-03-25 12:59:09 How to query "primary_slot_name" in slave server?
Previous Message Durumdara 2020-03-25 12:53:00 PLPGSQL: DECLARE more variable with same type at once