Re: PLPGSQL: DECLARE more variable with same type at once

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Durumdara <durumdara(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PLPGSQL: DECLARE more variable with same type at once
Date: 2020-03-25 13:01:45
Message-ID: CAKFQuwbeHkjLYSOy28knu3WWsNFpQDuU_kgz=2Np2rJ4FK7=VQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, March 25, 2020, Durumdara <durumdara(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2020-03-25 13:05:04 Re: PLPGSQL: DECLARE more variable with same type at once
Previous Message Edson Richter 2020-03-25 12:59:09 How to query "primary_slot_name" in slave server?