Re: column does not exist error

From: Vidhya Bondre <vbondre(at)zedo(dot)com>
To: Dave Coventry <dgcoventry(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: column does not exist error
Date: 2009-11-18 13:30:50
Message-ID: 9cffba1d0911180530q77048cbawb74b09579e191a49@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-11-18 13:31:12 Re: column does not exist error
Previous Message Raymond O'Donnell 2009-11-18 13:25:37 Re: Creating new database