Re: "The tuple structure of a not-yet-assigned record is indeterminate."

From: "A B" <gentosaker(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: "The tuple structure of a not-yet-assigned record is indeterminate."
Date: 2008-06-30 12:25:30
Message-ID: dbbf25900806300525q2df81539p8b377c0298ff2f9f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I did read the select line also, and
select * from foo() as (a integer, b integer, c integer);
gives me unfortunatly the error
ERROR: record "retval" is not assigned yet
DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.
So you are telling me this is an error that is caused by the way I
call the function and not the definition of the function it self?

> You have only quotet (and read?) my function, but not the select.
> Again:
>
> test=*# select * from ab() as (i int, j int);
> i | j
> ---+---
> 1 | 2
> (1 row)

I
>
> Look at the part after the function-call...
>
>
>
> Regards, Andreas
> --
> Andreas Kretschmer
> Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
> GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dimitri Fontaine 2008-06-30 12:38:10 Re: php + postgresql website ?
Previous Message Ian Meyer 2008-06-30 12:18:11 Re: php + postgresql website ?