pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Morgan Curley <mcurley@e4media.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Procedures in views
Date: Mon, 23 Jul 2001 09:40:46 -0400
Message-ID: <4.3.2.7.2.20010723093222.02c90870@e4media.com> (raw)

Does anyone know if the following is possible:
Table A has a list of names with a column entry containing the name of an 
assoc pl/pgsql function
Table B has a list of values
Table C is a junction table btw A and B

I would like to create a view that returns info from both tables and does a 
calc on some of the values in B based on the function name stored in A.

Can this be done?
If so, can someone point me in the right direction for documnetation.

Thanks,
Morgan




Message-ID: <4.3.2.7.2.20010723093222.02c90870@e4media.com>
Permalink:  ../4.3.2.7.2.20010723093222.02c90870@e4media.com/
Also on:    postgresql.org/message-id/4.3.2.7.2.20010723093222.02c90870@e4media.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: pgsql-sql@postgresql.org
  Cc: mcurley@e4media.com
  Subject: Re: Procedures in views
  In-Reply-To: <4.3.2.7.2.20010723093222.02c90870@e4media.com>

* 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