Re: [HACKERS] Precedence of Postfix operators

2010-02-07 Thread Gokulakannan Somasundaram
Thanks Tom, for the explanation. Gokul. On Sun, Feb 7, 2010 at 10:14 PM, Tom Lane wrote: > Gokulakannan Somasundaram writes: > >Is there any reason why we have given lesser precedence for postfix > > operator compared to multiplication/division? Usually postfix operators > have > > more pr

Re: [HACKERS] Precedence of Postfix operators

2010-02-07 Thread Tom Lane
Gokulakannan Somasundaram writes: >Is there any reason why we have given lesser precedence for postfix > operator compared to multiplication/division? Usually postfix operators have > more precedence than the binary operations. Is this some kind of work around > to provide user-defined operato

[HACKERS] Precedence of Postfix operators

2010-02-07 Thread Gokulakannan Somasundaram
Hi, Is there any reason why we have given lesser precedence for postfix operator compared to multiplication/division? Usually postfix operators have more precedence than the binary operations. Is this some kind of work around to provide user-defined operators? Can someone help me understand this