agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: amulsul <sul_amul@yahoo.co.in>
To: pgsql-sql@postgresql.org
Subject: Re: refer function name by a variable in the function body
Date: Wed, 17 Feb 2016 05:54:08 -0700 (MST)
Message-ID: <1455713648886-5888012.post@n5.nabble.com> (raw)
In-Reply-To: <CAJP7dtDr++ZXgPEXoayNQfjjHBwBc7607iuj84PS2Pk8HZqfyQ@mail.gmail.com>
References: <CAJP7dtDr++ZXgPEXoayNQfjjHBwBc7607iuj84PS2Pk8HZqfyQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
>raise info 'starting function compute_X as %' user_id || timeofday();
Use 'user' or 'current_user' instead of user_id, it will work. You've typo,
comma is missing before user_id.
Regards,
Amul Sul
--
View this message in context: http://postgresql.nabble.com/refer-function-name-by-a-variable-in-the-function-body-tp5887848p588801...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (3+ messages)
Message-ID: <1455713648886-5888012.post@n5.nabble.com>
Permalink: ../1455713648886-5888012.post@n5.nabble.com/
Also on: postgresql.org/message-id/1455713648886-5888012.post@n5.nabble.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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sul_amul@yahoo.co.in
Subject: Re: refer function name by a variable in the function body
In-Reply-To: <1455713648886-5888012.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox