From: Alexander B. <burbello3000@yahoo.com.br>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Return data from function
Date: Tue, 17 Apr 2007 16:17:36 -0300
Message-ID: <46251D50.2000601@yahoo.com.br> (raw)
Hello,
I need to create a function that find data over 3 tables, merge and
return data.
With example can be specified more clearly:
1.1 Find all addresses code;
1.2 For each addresses code, get address, complement and city on the
first table;
1.3 For each addresses code, get address, complement and city on the
second table;
1.4 Merge result from first and second tables and return to the function;
I would like to do not using cursor.
Do you have any ideas how to implement?
Thanks in advance.
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-admin@postgresql.org
Cc: burbello3000@yahoo.com.br
Subject: Re: Return data from function
In-Reply-To: <46251D50.2000601@yahoo.com.br>
* 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