pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Holston <holston@itd.nrl.navy.mil>
To: Jan Wieck <jwieck@debis.com>
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] Unable to read from a view
Date: Wed, 24 Feb 1999 17:03:18 -0500 (EST)
Message-ID: <Pine.SUN.3.91.990224170139.20096D-100000@shell> (raw)
In-Reply-To: <m10FmN9-000EBPC@orion.SAPserv.Hamburg.dsh.de>



On Wed, 24 Feb 1999, Jan Wieck wrote:

> > 
> > 
> > Hi all,
> > 
> > I just created a view and have been unable to read from it.  I am 
> > Apache/1.3.1 (Unix) PHP/3.0.3 and Postgres 6.4.  When I tried to do a 
> > select it gives the following error message:
> > 
> > real=> select * from pubsearch;
> > ERROR:  nodeRead: Bad type 0
> > 
> > I created the view with the following select statment:
> > 
> > select distinct users.firstname, users.lastname, publication.title, 
>          ^^^^^^^^
>      
>     DISTINCT isn't supported in view definitions. You can SELECT
> 	from view's distinct, but you cannot define them to be.  Nor
> 	could you define views with group by and order by.

I have tried to drop the view and it gives the same error message.  Is 
there any way to get rid of them (2).

Thanks for the help,

-Greg



view thread (5+ messages)  latest in thread

Message-ID: <Pine.SUN.3.91.990224170139.20096D-100000@shell>
Permalink:  ../Pine.SUN.3.91.990224170139.20096D-100000@shell/
Also on:    postgresql.org/message-id/Pine.SUN.3.91.990224170139.20096D-100000@shell

 · 

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: holston@itd.nrl.navy.mil, jwieck@debis.com, pgsql-sql@hub.org
  Subject: Re: [SQL] Unable to read from a view
  In-Reply-To: <Pine.SUN.3.91.990224170139.20096D-100000@shell>
  References: <m10FmN9-000EBPC@orion.SAPserv.Hamburg.dsh.de> <Pine.SUN.3.91.990224170139.20096D-100000@shell>

* 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