Re: Column qualifier issue

Поиск
Список
Период
Сортировка
От Jim Wilson
Тема Re: Column qualifier issue
Дата
Msg-id twig.1073957590.49781@kelcomaine.com
обсуждение исходный текст
Ответ на Column qualifier issue  ("Jim Wilson" <jimw@kelcomaine.com>)
Ответы Re: Column qualifier issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Stephan Szabo <sszabo@megazone.bigpanda.com> said:

> On Mon, 12 Jan 2004, Tom Lane wrote:
>
> > "Jim Wilson" <jimw@kelcomaine.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.

Yes, I think you are correct on that.  I was misreading column reference for
column name.  Would it be difficult to patch my local copy to either permit
this or strip off the characters from the qualifier portion in the parser?

Best,

Jim



В списке pgsql-general по дате отправления:

Предыдущее
От: "Jim Wilson"
Дата:
Сообщение: Re: Column qualifier issue
Следующее
От: "Thapliyal, Deepak"
Дата:
Сообщение: Re: Parse error help needed...