On Jun 9, 2010, at 9:30 AM, Tom Lane wrote:

> Andrew Gierth <and...@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



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to