From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Denis BUCHER <dbucherml(at)hsolutions(dot)ch> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problem with return type of function ??? |
Date: | 2009-10-22 14:58:42 |
Message-ID: | 4AE07322.4010601@archonet.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2009-10-22 15:06:47 | Re: Problem with return type of function ??? (corrected) |
Previous Message | Denis BUCHER | 2009-10-22 14:38:45 | Re: Problem with return type of function ??? (corrected) |