pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Łukasz Jarych <jaryszek@gmail.com>
To: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Function to set up variable inside it
Date: Tue, 15 May 2018 05:58:40 -0700
Message-ID: <47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com> (raw)
In-Reply-To: <CAGv31ocS58Aizs1QpoH-1A5hRX9KF4yGRsukFJeYWfkr=Eo3xg@mail.gmail.com>
References: <CAGv31ocS58Aizs1QpoH-1A5hRX9KF4yGRsukFJeYWfkr=Eo3xg@mail.gmail.com>

On 05/15/2018 05:28 AM, Łukasz Jarych wrote:
> Hi Guys,
> 
> I am using postgres 10.3 (or 4?).
> IT is possible to set up variable inside function?

Like this?:

https://www.postgresql.org/docs/10/static/plpgsql-declarations.html

> 
> Best,
> Jacek


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (6+ messages)  latest in thread

Message-ID: <47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com>
Permalink:  ../47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com/
Also on:    postgresql.org/message-id/47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, jaryszek@gmail.com
  Subject: Re: Function to set up variable inside it
  In-Reply-To: <47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com>
  References: <CAGv31ocS58Aizs1QpoH-1A5hRX9KF4yGRsukFJeYWfkr=Eo3xg@mail.gmail.com> <47d98830-b2d0-657a-b09f-cf995b56783a@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox