From: Majolee InfoTech (Hotmail) <themajolee@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Dynamic Record Type Field Names
Date: Sat, 21 Aug 2004 19:40:12 +0530
Message-ID: <BAY17-DAV9p8ARf3sll00007513@hotmail.com> (raw)
Hello,
We are using a Postgresql 7.4 DB.
We need a function in pl/pgsql which will return a delimited text based data from a table where table name is passed as argument.
While trying to loop through using "For record In Execute query Loop" we can not use field names for geting a specific filed value.
So we are finding other ways to get data from record and append it to a string.
We tried using a dynamic function generation where we pass the record to that function but there seems to be some error when passing record to a recently generated function.
Any help would be great.
===============
Mihir & Biren
Partners
Majolee InfoTech
===============
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-php@postgresql.org
Cc: themajolee@hotmail.com
Subject: Re: Dynamic Record Type Field Names
In-Reply-To: <BAY17-DAV9p8ARf3sll00007513@hotmail.com>
References: <BAY17-DAV9p8ARf3sll00007513@hotmail.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