Re: [HACKERS] sorting operators in pg_dump

2012-01-03 Thread Robert Haas
On Sun, Jan 1, 2012 at 11:50 PM, Peter Eisentraut wrote: > Currently, pg_dump sorts operators by name, but operators with the same > name come out in random order.  A few releases ago we adjusted this for > functions, so that they are in increasing number of arguments order. > I'd like to do this

Re: [HACKERS] sorting operators in pg_dump

2012-01-02 Thread Dimitri Fontaine
Peter Eisentraut writes: > order, say, prefix, postfix, infix. > > (It might be surprising that something like this is necessary, but it > happens. ip4r for example contains operators with different fixnesses > (fixities?).) I think it's called “arity” :) Regards, -- Dimitri Fontaine http://2n

[HACKERS] sorting operators in pg_dump

2012-01-01 Thread Peter Eisentraut
Currently, pg_dump sorts operators by name, but operators with the same name come out in random order. A few releases ago we adjusted this for functions, so that they are in increasing number of arguments order. I'd like to do this for operators as well, so that they come out in order, say, prefix