Re: column does not exist error - Mailing list pgsql-general

From Vidhya Bondre
Subject Re: column does not exist error
Date
Msg-id 9cffba1d0911180530q77048cbawb74b09579e191a49@mail.gmail.com
Whole thread Raw
In response to column does not exist error  (Dave Coventry <dgcoventry@gmail.com>)
List pgsql-general
Can you try reframing it as :
 
SELECT title FROM node WHERE type='client;
 
Regards
Vidhya


 
On Wed, Nov 18, 2009 at 6:53 PM, Dave Coventry <dgcoventry@gmail.com> wrote:
Tearing my hair out, can anyone see what I'm doing wrong?

 SELECT title FROM node WHERE type=client;

ERROR:  column "client" does not exist
LINE 1: SELECT title FROM node WHERE type=client;

Yet this works:

 SELECT type FROM node;
 type
--------
 client
 client
 client
 client
 client
(5 rows)

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Vidhya Bondre
Date:
Subject: Re: Creating new database
Next
From: Thomas Markus
Date:
Subject: Re: column does not exist error