agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] ResultSet in and out
Date: Wed, 20 Apr 2005 16:21:54 -0700 (PDT)
Message-ID: <20050420232154.90460.qmail@web50703.mail.yahoo.com> (raw)

Let me try to explain what I'm looking to achieve with
pl/java and hopefully someone can shed a little light
on how it could be accomplished.

I'd like to write a function which takes in the result
of a query and returns a ResultSet.  I'd like the ddr
signature not to be bound to a particular table
rowtype or composite type (is this what the record
type is for?).  So I'd like it to take in the result
of a query to any table.  Then I'd like the function
to be able to return a ResultSet.  This ResultSet
would be a modification of the one passed in.  It
would add one or more columns and values for each row
for those columns.

I'm new to Postgres and have looked through the
pl/java and pl/pgsql docs but didnt see this addressed
there.

Any suggestions?

Thanks in advance.
Bruce

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




view thread (2+ messages)  latest in thread

Message-ID: <20050420232154.90460.qmail@web50703.mail.yahoo.com>
Permalink:  ../20050420232154.90460.qmail@web50703.mail.yahoo.com/
Also on:    postgresql.org/message-id/20050420232154.90460.qmail@web50703.mail.yahoo.com

reply

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] ResultSet in and out
  In-Reply-To: <20050420232154.90460.qmail@web50703.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox