From: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, robertmhaas(at)gmail(dot)com (Robert Haas), Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Greg Stark <gsstark(at)mit(dot)edu>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: hstore ==> and deprecate => |
Date: | 2010-06-09 16:54:24 |
Message-ID: | 3BF5064F-46E5-4676-A36B-2BF28B5AA414@kineticode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Jun 9, 2010, at 9:30 AM, Tom Lane wrote:
> Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Dean Rasheed | 2010-06-09 16:57:50 | Re: Invalid YAML output from EXPLAIN |
Previous Message | Robert Haas | 2010-06-09 16:52:55 | Re: Invalid YAML output from EXPLAIN |