Skip site navigation (1) Skip section navigation (2)

Re: Assertion failure due to ColumnRefStar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: NikhilS <nikkhils(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Assertion failure due to ColumnRefStar
Date: 2007-09-27 14:51:59
Message-ID: 29363.1190904719@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> NikhilS wrote:
>> One of our qmg folks reported an assertion failure:
>> create table x(y char(1));
>> insert into x  values ("*");
>> 
>> The above causes the following assertion to be hit:

> Works for me on CVS HEAD. Which version of Postgres is this?

I see the assert failure here --- maybe you were testing a non-assert
build?

The problem here is that in the output of the grammar, * is represented
exactly the same as "*" would be ... I suppose this representation was
chosen back in the day before we had full support for quoted column
names.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-09-27 15:22:46
Subject: Getting to 8.3 beta1
Previous:From: Kevin GrittnerDate: 2007-09-27 14:28:22
Subject: Re: [FEATURE REQUEST] Streaming Onlinebackup (Maybe OFFTOPIC)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group