Re: [HACKERS] Re: Arrays versus 'type constant' syntax

Zeugswetter Andreas <andreas.zeugswetter@telecom.at>

From: Zeugswetter Andreas IZ5 <Andreas.Zeugswetter@telecom.at>
To: pgsql-hackers@postgreSQL.org
Date: 1999-07-15T07:35:17Z
Lists: pgsql-hackers
> Hmm.  OK, then, we're stuck with a tradeoff that (fortunately) only
> affects arrays.  Is it better to force subscripted column names to be
> fully qualified "table.column[subscripts]" (the current situation),
> or to allow bare column names to be subscripted at the cost of requiring
> casts from string constants to array types to use the long-winded CAST
> notation (or nonstandard :: notation)?
> 
Yes, me thinks so too.

> I would guess that the cast issue comes up *far* less frequently than
> subscripting, so we'd be better off changing the behavior.  But the
> floor is open for discussion.
> 
Yes.

	I have this change implemented and tested here, btw, but I won't
check
	it in until I see if there are objections...

I would apply it :-)

Andreas