Re: [HACKERS] Dump/restore of views containing select distinct fails

2001-04-13 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > => create view testview as select relname, 'Constant'::text from pg_class; I assume you meant SELECT DISTINCT there... > => \d testview >View "testview" > Attribute | Type | Modifier > ---+--+-- > relname | name | >

[HACKERS] Dump/restore of views containing select distinct fails

2001-04-13 Thread Peter Eisentraut
=> create view testview as select relname, 'Constant'::text from pg_class; => \d testview View "testview" Attribute | Type | Modifier ---+--+-- relname | name | ?column? | text | View definition: SELECT DISTINCT pg_class.relname, 'Constant'::text FROM pg_class ORD