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

pgsql/src/backend/parser parse_target.c

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/parser parse_target.c
Date: 2001-09-10 14:53:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	scrappy(at)hub(dot)org	01/09/10 10:53:10

Modified files:
	src/backend/parser: parse_target.c 

Log message:
	Bug #1: attribute name when column is type cast:
	Given the following table:
	test=# \d f
	Table "f"
	Column |  Type   | Modifiers
	i      | integer |
	test   | text    |
	If I do the following:
	test=# insert into f values(1,'test');
	INSERT 139549 1
	test=# select i::int8,test from f;
	?column? | test
	1 | test
	(1 row)
	It doesn't make much sense that the first column should be called
	The patch results in the output appearing like this:
	test=# select i::int8,test from f;
	i | test
	1 | test
	(1 row)
	Gavin Sherry

pgsql-committers by date

Next:From: Marc G. FournierDate: 2001-09-10 14:54:22
Subject: pgsql/src/interfaces/jdbc/org/postgresql/test/ ...
Previous:From: Marc G. FournierDate: 2001-09-10 14:51:33
Subject: pgsql/src/bin/psql command.c ru.po

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