Re: Views with Where Clauses - Mailing list pgsql-general

From Richard Huxton
Subject Re: Views with Where Clauses
Date
Msg-id 200309051105.01654.dev@archonet.com
Whole thread Raw
In response to Views with Where Clauses  (Alex <alex@meerkatsoft.com>)
Responses Re: Views with Where Clauses
List pgsql-general
On Friday 05 September 2003 10:39, Alex wrote:
> Hi,
> I have a view that has some wher clause in it.
>
> If I call the view with SELECT * FROM viewx WHERE xxxx ;   (joining 2
> tables)
> then I dont get any results back although issuing the command in full
> i.e. without view i get rows back.
>
> Is it not possible to use view that way ?

That's how they're supposed to work. Are you sure there's not some subtle
mistake in the view definition? Feel free to post it along with the query.

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Alex
Date:
Subject: Views with Where Clauses
Next
From: Peter Childs
Date:
Subject: Re: Replaceing records