Re: output columns of \dAo and \dAp

2020-07-13 Thread Alexander Korotkov
On Mon, Jul 13, 2020 at 7:54 PM Jonathan S. Katz wrote: > On 7/13/20 10:37 AM, Tom Lane wrote: > > Alexander Korotkov writes: > >> Good compromise. Done as you proposed. > > > > I'm OK with this version. > > I saw this was committed and the item was adjusted on the Open Items list. Thank you!

Re: output columns of \dAo and \dAp

2020-07-13 Thread Jonathan S. Katz
On 7/13/20 10:37 AM, Tom Lane wrote: > Alexander Korotkov writes: >> Good compromise. Done as you proposed. > > I'm OK with this version. I saw this was committed and the item was adjusted on the Open Items list. Thank you! Jonathan signature.asc Description: OpenPGP digital signature

Re: output columns of \dAo and \dAp

2020-07-13 Thread Tom Lane
Alexander Korotkov writes: > Good compromise. Done as you proposed. I'm OK with this version. regards, tom lane

Re: output columns of \dAo and \dAp

2020-07-13 Thread Alexander Korotkov
On Sat, Jul 11, 2020 at 10:59 PM Tom Lane wrote: > Alexander Korotkov writes: > > The proposed patch is attached. This patch is fixes two points: > > * Adds strategy number and purpose to output of \dAo > > * Renames "Left/right arg type" columns of \dAp to "Registered left/right > > type" >

Re: output columns of \dAo and \dAp

2020-07-11 Thread Tom Lane
Alexander Korotkov writes: > The proposed patch is attached. This patch is fixes two points: > * Adds strategy number and purpose to output of \dAo > * Renames "Left/right arg type" columns of \dAp to "Registered left/right > type" I think that \dAp should additionally be changed to print

Re: output columns of \dAo and \dAp

2020-07-11 Thread Alexander Korotkov
On Fri, Jul 10, 2020 at 2:24 AM Alexander Korotkov wrote: > On Thu, Jul 9, 2020 at 10:03 PM Jonathan S. Katz wrote: > > From the RMT perspective, if there is an agreed upon approach (which it > > sounds like from the above) can someone please commit to working on > > resolving this open item? >

Re: output columns of \dAo and \dAp

2020-07-09 Thread Alexander Korotkov
On Thu, Jul 9, 2020 at 10:03 PM Jonathan S. Katz wrote: > From the RMT perspective, if there is an agreed upon approach (which it > sounds like from the above) can someone please commit to working on > resolving this open item? I hardly can extract an approach from this thread, because for me

Re: output columns of \dAo and \dAp

2020-07-09 Thread Jonathan S. Katz
On 7/7/20 6:09 PM, Alexander Korotkov wrote: > On Sun, Jun 7, 2020 at 12:34 AM Tom Lane wrote: >> Peter Eisentraut writes: >>> I'm also wondering whether this is fully correct. Would it be possible for >>> the >>> argument types of the operator/function to differ from the left arg/right >>>

Re: output columns of \dAo and \dAp

2020-07-07 Thread Alexander Korotkov
On Sun, Jun 7, 2020 at 12:34 AM Tom Lane wrote: > Peter Eisentraut writes: > > I'm also wondering whether this is fully correct. Would it be possible for > > the > > argument types of the operator/function to differ from the left arg/right > > arg > > types? (Perhaps binary compatible?) > >

Re: output columns of \dAo and \dAp

2020-07-07 Thread Alvaro Herrera
Sergey, Nikita, Alexander, if you can please see this thread and propose a solution, that'd be very welcome. On 2020-Jun-06, Tom Lane wrote: > Peter Eisentraut writes: > > I'm also wondering whether this is fully correct. Would it be possible for > > the > > argument types of the

Re: output columns of \dAo and \dAp

2020-06-06 Thread Tom Lane
Peter Eisentraut writes: > I'm also wondering whether this is fully correct. Would it be possible for > the > argument types of the operator/function to differ from the left arg/right arg > types? (Perhaps binary compatible?) pg_amop.h specifies that * The primary key for this table is .

output columns of \dAo and \dAp

2020-06-06 Thread Peter Eisentraut
I'm somewhat confused by the selection and order of the output columns produced by the new psql commands \dAo and \dAp (access method operators and functions, respectively). Currently, you get \dAo AM | Operator family | Operator -+-+-- gin |