Re: hstore ==> and deprecate =>
David E. Wheeler <david@kineticode.com>
From: "David E. Wheeler" <david@kineticode.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>, robertmhaas@gmail.com (Robert Haas), Dimitri Fontaine <dfontaine@hi-media.com>, Greg Stark <gsstark@mit.edu>, pgsql-hackers@postgresql.org
Date: 2010-06-09T16:54:24Z
Lists: pgsql-hackers
On Jun 9, 2010, at 9:30 AM, Tom Lane wrote: > Andrew Gierth <andrew@tao11.riddles.org.uk> writes: >> I'd really like to find a better operator name than ==>. But I'm not >> convinced one exists. > > I agree. +1 No one liked my suggestion of ~> ? Too similar to -> ? Other ideas: 'foo' :> 'bar' 'foo' @> 'bar' 'foo' #> 'bar' 'foo' &> 'bar' 'foo' *> 'bar' 'foo' +> 'bar' 'foo' > 'bar' 'bar' <= 'foo' I actually like :> pretty well. It looks more like =>, and has nice correspondence to := for named function params. Hey, why not Unicode? 'bar' ➡ 'foo' ;-) > Perhaps it would be sane to make hstore_in accept either => or ==>, but > not change hstore_out (for now)? +1 David