pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: pgsql-sql@postgresql.org
Subject: Passing a table to PL/pgSQL
Date: Sat, 24 Feb 2001 18:17:16 -0700
Message-ID: <20010224181715.A16471@cc.usu.edu> (raw)

	Hi,

	I am trying to learn how can I pass a table to PL/pgSQL functions and
what can I do with them. I have heard somethings about these things, but
I'd like to know for certain.

	Especifically:

	- Can I pass a table to PL/pgSQL?
	- Can I pass a parameter that's a member of a table (e.g.
	  users.user_id%TYPE)?
	- Can a parameter have a default value?

	Thanks,

	-Roberto Mello

	P.S: I searched lots in the PG search engine, but couldn't find
anything.
-- 
Computer Science			Utah State University
Space Dynamics Laboratory		Web Developer
USU Free Software & GNU/Linux Club 	http://fslc.usu.edu
My web site: http://www.brasileiro.net



Message-ID: <20010224181715.A16471@cc.usu.edu>
Permalink:  ../20010224181715.A16471@cc.usu.edu/
Also on:    postgresql.org/message-id/20010224181715.A16471@cc.usu.edu

 · 

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 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-sql@postgresql.org
  Cc: rmello@cc.usu.edu
  Subject: Re: Passing a table to PL/pgSQL
  In-Reply-To: <20010224181715.A16471@cc.usu.edu>
  References: <20010224181715.A16471@cc.usu.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