> Tatsuo Ishii <[EMAIL PROTECTED]> writes: > > test=# select count(a.*) from pg_indexes a limit 10; > > server closed the connection unexpectedly > > Hmmm ... the crash is certainly UnGood, but is there any reason we > should accept this query rather than generating an error? I don't > think it's legal vanilla SQL --- the argument of count() should be > either "*" or a scalar expression per the spec. I don't know what > it means for the argument of count() to be "foo.*".
If the SQL is not legal, generating an error is enough, I think. -- Tatsuo Ishii ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match