Re: hstore ==> and deprecate =>
От | David E. Wheeler |
---|---|
Тема | Re: hstore ==> and deprecate => |
Дата | |
Msg-id | 3BF5064F-46E5-4676-A36B-2BF28B5AA414@kineticode.com обсуждение исходный текст |
Ответ на | Re: hstore ==> and deprecate => (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: hstore ==> and deprecate =>
Re: hstore ==> and deprecate => |
Список | 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
В списке pgsql-hackers по дате отправления: