Thread
-
Re: [HACKERS] Re: Arrays versus 'type constant' syntax
Zeugswetter Andreas <andreas.zeugswetter@telecom.at> — 1999-07-15T07:35:17Z
> 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