Re: hstore ==> and deprecate =>

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: hstore ==> and deprecate =>
Дата
Msg-id 1276329851.10097.4.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: hstore ==> and deprecate =>  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: hstore ==> and deprecate =>  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On fre, 2010-06-11 at 10:57 -0400, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> >>> Btw., the SQL standard also defines -> for something else, so if you
> >>> wanted to be really visionary, you could deprecate that one as an
> >>> operator at the same time.
> >> 
> >> Ouch.  What does it define it to mean?
> 
> > Similar to C: Dereferencing a reference and accessing a member.
> 
> But a reference would be a datatype no?  So we could just regard that as
> an ordinary operator.  I don't see a reason why it would conflict with
> use of the same operator name for other datatypes (unlike the situation
> with =>).

The right side of the -> would be an identifier, like

(some expr yielding a ref)->attribute

or

objref->method(args)




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PG 9.1 tentative timeline
Следующее
От: Greg Stark
Дата:
Сообщение: Re: pg_upgrade output directory