small bug? "ERROR: exprType: Do not know how to get type for 711 node"
От | Ian Barwick |
---|---|
Тема | small bug? "ERROR: exprType: Do not know how to get type for 711 node" |
Дата | |
Msg-id | 200212271628.19537.barwick@gmx.net обсуждение исходный текст |
Ответы |
Re: small bug? "ERROR: exprType: Do not know how to get type for 711 node"
Re: small bug? "ERROR: exprType: Do not know how to get type for 711 node" |
Список | pgsql-bugs |
nothing show-stopping, but something I found by accident: test=3D# select version(); version=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --------------------------------------------------------------------- PostgreSQL 7.3.1 on i386-unknown-freebsd4.7, compiled by GCC 2.95.4 (1 row) test=3D# create table foo (bar int); CREATE TABLE test=3D# update foo set foo=3D1 where foo=3D1; ERROR: exprType: Do not know how to get type for 711 node Only occurs when the column name used in the WHERE clause is the same as the table name but does not exist in the table. I would have expected a message more like this: test=3D# update foo set foo=3D1 ;=20=20=20=20=20=20=20=20=20=20=20 ERROR: Relation "foo" has no column "foo" Ian Barwick barwick@gmx.net
В списке pgsql-bugs по дате отправления: