Re: Column qualifier issue

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: jimw(at)kelcomaine(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Column qualifier issue
Date: 2004-01-12 23:39:09
Message-ID: 20040112153735.F69386@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 12 Jan 2004, Tom Lane wrote:

> "Jim Wilson" <jimw(at)kelcomaine(dot)com> writes:
> > As far as I can tell, there isn't a way to get postgresql to accept column
> > qualifiers (e.g. tablenames). A 'parse error at or near "."' gets returned.
>
> You're either very confused or using a *very* old version of Postgres.
>
> What version is it, what query are you issuing exactly, and what exactly
> is the error message? (Cut-and-paste from a psql session would be the
> best way to answer the last two ... or if the query is being issued from
> another application, you could turn on query logging and send in an
> excerpt from the postmaster log.)

My guess from the rest of his message is something like:

sszabo=# insert into a (a.x) values ('3');
ERROR: syntax error at or near "." at character 17

(from my 7.5 machine).

However, AFAICS in sql92 the above isn't valid, because a.x doesn't meet
the syntactic requirements for elements in the column name list.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-01-12 23:43:58 Re: How are NULLS stored on disk for PG 7.4?
Previous Message Tom Lane 2004-01-12 23:20:23 Re: Vacuum Error