pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wiebe Cazemier <halfgaar@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: unique names in variables and columns in plsql functions
Date: Mon, 27 Mar 2006 23:38:27 +0200
Message-ID: <44285B53.2070809@gmail.com> (raw)
In-Reply-To: <20060327144804.GV80726@pervasive.com>
References: <4427F7D3.3000103@gmail.com>
	<20060327144804.GV80726@pervasive.com>

(Whoops, pressed wrong reply button. Here it is correctly this time.)

On 03/27/06 16:48, Jim C. Nasby wrote:

>
>Sadly, overloading variable names between plpgsql and SQL is *highly*
>problematic. Because of this I *always* prefix plpgsql variables with
>something, such as p_ for parameters and v_ for general variables.
>  
>
Hmm. Well, at least now I'm aware of it. Perhaps I will do something
similair to prefixes from now on, it would seem to be good practice.

Attachments:

  signature.asc (application/pgp-signature, 257B) download

view thread (6+ messages)  latest in thread

Message-ID: <44285B53.2070809@gmail.com>
Permalink:  ../44285B53.2070809@gmail.com/
Also on:    postgresql.org/message-id/44285B53.2070809@gmail.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: halfgaar@gmail.com
  Subject: Re: unique names in variables and columns in plsql functions
  In-Reply-To: <44285B53.2070809@gmail.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