Tom Lane wrote:
> I think that code probably originated at a time when palloc(0) threw an
> error, and was meant to avoid any corner-case failures in the subsequent
> logic. I can't get very excited about the case --- it seems to me the
> *real* fix for this complaint is to give hstore some ANALYZE support ---
Possibly. The standard type analyze function is not used for hstore
because it doesn't have an equals operator.
> but if you've tested that it behaves sanely with no columns I have no
> objection to committing it.
Committed.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com