pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: c k <shreeseva.learning@gmail.com>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: Fail of a return query from plpgsql function for a specific table
Date: Thu, 8 Jan 2009 02:47:15 +0530
Message-ID: <d8e7a1e30901071317x1eb1c731se957c95695512152@mail.gmail.com> (raw)

Hi all,I have a table accgroups and many others. I have written a test
function as follows.
CREATE OR REPLACE FUNCTION uf_testfunction()
  RETURNS SETOF associates AS
$BODY$
begin
return query select * from associates;
return;
end;
$BODY$
  LANGUAGE 'plpgsql' VOLATILE;
This works fine for above table but not works at all for accgroups table. As
I searched for this over web, it is identified as a bug for tables whose
columns are changed(deleted and added). Is it true?
How to solve this issue?
Thanks
CPK

view thread (2+ messages)  latest in thread

Message-ID: <d8e7a1e30901071317x1eb1c731se957c95695512152@mail.gmail.com>
Permalink:  ../d8e7a1e30901071317x1eb1c731se957c95695512152@mail.gmail.com/
Also on:    postgresql.org/message-id/d8e7a1e30901071317x1eb1c731se957c95695512152@mail.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 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-admin@postgresql.org
  Cc: shreeseva.learning@gmail.com, pgsql-general@postgresql.org
  Subject: Re: Fail of a return query from plpgsql function for a specific table
  In-Reply-To: <d8e7a1e30901071317x1eb1c731se957c95695512152@mail.gmail.com>
  References: <d8e7a1e30901071317x1eb1c731se957c95695512152@mail.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