Re: PLPGSQL: DECLARE more variable with same type at once - Mailing list pgsql-general

From David G. Johnston
Subject Re: PLPGSQL: DECLARE more variable with same type at once
Date
Msg-id CAKFQuwbeHkjLYSOy28knu3WWsNFpQDuU_kgz=2Np2rJ4FK7=VQ@mail.gmail.com
Whole thread Raw
In response to PLPGSQL: DECLARE more variable with same type at once  (Durumdara <durumdara@gmail.com>)
List pgsql-general
On Wednesday, March 25, 2020, Durumdara <durumdara@gmail.com> wrote:
Hello!

I want to ask how to shortening code?

    Delta double precision;
    UjErtek double precision;
    UjDErtek double precision;

For example - but this makes an error:
    Delta, UjErtek, UjDErtek double precision;

Do you know any other form?


No other form is specified in the documentation.

David J.

pgsql-general by date:

Previous
From: Edson Richter
Date:
Subject: How to query "primary_slot_name" in slave server?
Next
From: Pavel Stehule
Date:
Subject: Re: PLPGSQL: DECLARE more variable with same type at once