pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Fuhr <mike@fuhr.org>
Cc: Gnanavel S <s.gnanavel@gmail.com>
Cc: Dongsoo Yoon <dsyoon@metasoftworks.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Error when using array variable
Date: Sat, 23 Jul 2005 00:56:26 -0400
Message-ID: <18797.1122094586@sss.pgh.pa.us> (raw)
In-Reply-To: <20050722233858.GA47991@winnie.fuhr.org>
References: <000601c58e9f$1a3d0cc0$2d216b3d@notebook04>
	<eec3b03c050722023774783b91@mail.gmail.com>
	<20050722233858.GA47991@winnie.fuhr.org>

Michael Fuhr <mike@fuhr.org> writes:
> On Fri, Jul 22, 2005 at 03:07:04PM +0530, Gnanavel S wrote:
>> You need to initialse the array, Otherwise any value added to the array will
>> be null.

> This isn't necessary in 8.0, which we can infer is being used because
> of the dollar quotes.

However, plpgsql wasn't fixed to follow that behavior till 8.0.2 or so.

			regards, tom lane



view thread (6+ messages)

Message-ID: <18797.1122094586@sss.pgh.pa.us>
Permalink:  ../18797.1122094586@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18797.1122094586@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mike@fuhr.org, s.gnanavel@gmail.com, dsyoon@metasoftworks.com
  Subject: Re: Error when using array variable
  In-Reply-To: <18797.1122094586@sss.pgh.pa.us>

* 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