From: Richard Huxton <dev@archonet.com>
To: Denis BUCHER <dbucherml@hsolutions.ch>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problem with return type of function ???
Date: Thu, 22 Oct 2009 15:58:42 +0100
Message-ID: <4AE07322.4010601@archonet.com> (raw)
In-Reply-To: <4AE06D5D.4020908@hsolutions.ch>
References: <4AE042AF.9020507@hsolutions.ch>
<4AE044C6.8010306@archonet.com>
<4AE046B7.5070805@hsolutions.ch>
<4AE05DD0.7010809@archonet.com>
<4AE05E55.4000500@hsolutions.ch>
<4AE06221.5040403@archonet.com>
<4AE0655C.80400@hsolutions.ch>
<4AE06A75.3040803@archonet.com>
<4AE06D5D.4020908@hsolutions.ch>
Denis BUCHER wrote:
>> Bienvenue dans psql 8.1.17, l'interface interactive de PostgreSQL.
OK - I'm not aware of any problems in that version. You're only one
revision from the latest 8.1.x series.
> OK I prepared what you asked and I tested it myself before sending.
>
> And I think I've found the problem (but not the solution !) :
>
>
> When I dump the FUNCTION, I get this :
>
>> CREATE test(character varying) RETURNS SETOF serial_number
>
> instead of this :
>
>> CREATE test(character varying) RETURNS SETOF rma.serial_number
>
> That seems to be some bug in Postgres ?
If you look earlier you should see a line that says something like: "set
search_path = rma, ..."
Makes it irritating to cut+paste sections of the dump, but it works just
fine.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, dbucherml@hsolutions.ch
Subject: Re: Problem with return type of function ???
In-Reply-To: <4AE07322.4010601@archonet.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