PLPGSQL: DECLARE more variable with same type at once

From: Durumdara <durumdara(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: PLPGSQL: DECLARE more variable with same type at once
Date: 2020-03-25 12:53:00
Message-ID: CAEcMXhkacPvf+ZhJ844hGO6Z2NGFAmTPpvJ9aPsQfxH9nSMo4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thank you for it!

Best regards
dd

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-03-25 12:54:45 Re: How to plpgsql scripting
Previous Message Pavel Stehule 2020-03-25 12:41:52 Re: How to plpgsql scripting