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

From: Pavel Stehule <pavel(dot)stehule(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:05:04
Message-ID: CAFj8pRCQMScbrX1gQLkKRVEOdWmKfZ4p6A-w64zLDpX7R+J7Pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

st 25. 3. 2020 v 13:53 odesílatel Durumdara <durumdara(at)gmail(dot)com> napsal:

> 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?
>

Short form not supported, because it is not supported in PLpgSQL origin -
PL/SQL

Regards

Pavel

>
> Thank you for it!
>
> Best regards
> dd
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ekaterina Amez 2020-03-25 13:05:48 Re: How to plpgsql scripting
Previous Message David G. Johnston 2020-03-25 13:01:45 Re: PLPGSQL: DECLARE more variable with same type at once