Skip site navigation (1) Skip section navigation (2)

Re: views with parameters

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "Thomas Hermann(Software)" <hth(at)sprintsoft(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: views with parameters
Date: 2004-11-29 16:34:17
Message-ID: 20041129163417.GA20174@wolff.to (view raw or flat)
Thread:
Lists: pgsql-novice
On Sun, Nov 28, 2004 at 00:39:40 +0100,
  "Thomas Hermann(Software)" <hth(at)sprintsoft(dot)de> wrote:

Usually you want to keep responses coppied to the list so that others
can comment on the thread.

> Thank you very much for your expedient response. I am currently running the
> 8 beta.
> 1) I want to modify the returned result set by sending different values used
> in the where clause, hence I get the desired information from the table.
> Assume I have the profile ID of a user an need to know the details of the
> profile, I can feed the profile to the view ID and get the proper details
> back. If the select statement within a view does not change, I can as well
> have select statement stored elsewhere.

You can supply the profile ID in a where clause when you select from the
view. Is there some reason you can't do that?

In response to

Responses

pgsql-novice by date

Next:From: Jeff FlowersDate: 2004-11-29 18:45:54
Subject: Re: problematic upgrade
Previous:From: Tom LaneDate: 2004-11-29 16:23:21
Subject: Re: Parallel versions on Red Hat Linux ES v3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group