Re: [BUGS] BUG #1904: using distinct with null col causes error

2005-09-22 Thread Tom Lane
"Brian Cox" <[EMAIL PROTECTED]> writes: > any_db=> create view view1 as select null as col1 from any_table; > CREATE VIEW You seem to have ignored the warning telling you this probably wasn't a good idea: regression=# create view view1 as select null as col1; WARNING: column "col1" has type "unk

[BUGS] BUG #1904: using distinct with null col causes error

2005-09-22 Thread Brian Cox
The following bug has been logged online: Bug reference: 1904 Logged by: Brian Cox Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.3 Operating system: Linux (Fedora Core 2) Description:using distinct with null col causes error Details: any_db=> create view