From: Jackson, Harold <harold.jackson@attws.com>
To: pgsql-docs@postgresql.org
Subject: problem with getting return type mismatch from function
Date: Wed, 17 Dec 2003 18:44:06 -0800
Message-ID: <B8A9DDDC5AF40449ACDC46C952D83C0F0177BFBA@WA-MSG04-BTH.wireless.attws.com> (raw)
Hi,
I'm having a problem with a function that I'm trying to create. I
created a data type that is composed of fields from 2 different tables.
When I create SQL functions this seems to work just fine. However,
when I try to use this data type in a plpgsql function, I get the error
message
" return type mismatch in function returning tuple at or near
"type_name"". No way is what I created a tuple. We're running
PostgreSQL 7.3.2 on Red Hat Linux. Any ideas?
Harold A. Jackson
DBA
NDCO
AT&T Wireless Services
(425)288-3485 (desk)
(425)241-8092 (cell)
harold.jackson@attws.com
Attachments:TechTool.gif (image/gif, 2.0K) downloadview image
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-docs@postgresql.org
Cc: harold.jackson@attws.com
Subject: Re: problem with getting return type mismatch from function
In-Reply-To: <B8A9DDDC5AF40449ACDC46C952D83C0F0177BFBA@WA-MSG04-BTH.wireless.attws.com>
References: <B8A9DDDC5AF40449ACDC46C952D83C0F0177BFBA@WA-MSG04-BTH.wireless.attws.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