Re: hstore ==> and deprecate => - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: hstore ==> and deprecate =>
Date
Msg-id 201006121728.o5CHS6b24850@momjian.us
Whole thread Raw
In response to Re: hstore ==> and deprecate =>  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> I notice that in 8.4 and before, the function underlying text => text
> wasn't called hstore() but tconvert().  Which is going to be a serious
> PITA for anyone who wants to write cross-version-compatible SQL using
> hstore.  Can we do anything about this?  I don't think we want to revert
> to calling it tconvert().  Can we retroactively add the alternate name
> hstore() to previous versions, and suggest that people do that manually
> in existing hstore installations?

In general, I don't think we make enough use of supplying
backward-compatible SQL scripts to fix things, so +1.  Let's use the
object-relational features we have to make things easier for users.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + None of us is going to be here forever. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_regress --use-existing does not appear in --help
Next
From: "David E. Wheeler"
Date:
Subject: Re: hstore ==> and deprecate =>