From: Michael Fuhr <mike@fuhr.org>
To: grupos <grupos@carvalhaes.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Array in plpgsql with composite type
Date: Mon, 20 Jun 2005 17:36:44 -0600
Message-ID: <20050620233644.GA27951@winnie.fuhr.org> (raw)
In-Reply-To: <42B6EF58.8090007@carvalhaes.net>
References: <42B6EF58.8090007@carvalhaes.net>
On Mon, Jun 20, 2005 at 01:31:20PM -0300, grupos wrote:
>
> I need to make an array with composite type (varchar, float8) to get
> data from a table (description and price) BUT I am having no success...
According to the "Arrays" section of the "Data Types" chapter in
the documentation, arrays of composite types aren't supported.
http://www.postgresql.org/docs/8.0/static/arrays.html
What problem are you trying to solve? If you tell us more about
what you're doing then maybe we can suggest ways to do it. One way
might be to use a procedural language like PL/Perl, PL/Tcl, or
PL/Python instead of PL/pgSQL.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: mike@fuhr.org, grupos@carvalhaes.net
Subject: Re: Array in plpgsql with composite type
In-Reply-To: <20050620233644.GA27951@winnie.fuhr.org>
* 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