From: Collin F. Lynch <clynch@water2.cs.umass.edu>
To: pgsql-interfaces@postgresql.org
Subject: spi, tuples
Date: Fri, 6 Aug 1999 15:59:02 -0400 (EDT)
Message-ID: <199908061959.PAA29068@water2.cs.umass.edu> (raw)
Greetings, Is there any way to have an spi function return the result of a query, or
to connect two tables in a view? Specifically, I have a table of times and locations from an
aerial flight, and a table of images from that flight, and I would like to select the images
that occur within a specified area. I had thought to join two tables in a view which I know
that you can do with other databases but I cannot seem to determine how to do it in postgres.
Alternately I had thought to use an spi function but I do not know how or if I can have it
return the result of a select statement of more than one record. The database ins Postgresql
6.5.1 on a Linux (RH 6) box.
Any help would be appreciated.
Collin Lynch.
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-interfaces@postgresql.org
Cc: clynch@water2.cs.umass.edu
Subject: Re: spi, tuples
In-Reply-To: <199908061959.PAA29068@water2.cs.umass.edu>
* 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