Re: small problem updating to 7.2...

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: GB Clark II <postgres(at)vsservices(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: small problem updating to 7.2...
Date: 2001-11-08 02:09:09
Message-ID: 20011107180849.O50937-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 7 Nov 2001, GB Clark II wrote:

> Hi,
>
> I've got a database that has a column named timestamp.
> Of course is this the same a type and now 7.2 will not allow me to access it
> directly. Any ideas how I can get to the data until I redesign the schema?
>
> Here is an example from it:
>
> helpshop=# select * from customer as C where C.timestamp = '2001-09-09';
> ERROR: parser: parse error at or near "timestamp"

It should be enough to double quote timestamp when you want to refer to
the column.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-11-08 02:34:36 Re: small problem updating to 7.2...
Previous Message Hiroshi Inoue 2001-11-08 01:46:19 Re: LIKE predicate and '\' character