"Zeugswetter Andreas SB SD" <[EMAIL PROTECTED]> writes: > Hmm, "any" would sound like it is the same as opaque. Would "any" really be > all allowed types ? I think we would want to eliminate that altogether.
Do you plan on eliminating the COUNT() aggregate, then? > Imho opaque is missing a runtime type info, like a descriptor, > and thus only "pass by value" could not be allowed anymore. AFAICS it's only useful for functions that only care whether their argument is NULL or not, and don't inspect its value. But that just happens to describe COUNT, as well as nullvalue/nonnullvalue. I don't really think that using ANY instead of OPAQUE for this purpose will affect users, because they will never be declaring any functions that would legitimately take ANY, much less return ANY (the latter probably makes no sense at all). It seems to me that COUNT, nullvalue, and nonnullvalue pretty much cover the spectrum of what you can usefully do with only an isnull bit to look at... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])