pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Yegorov <vyegorov@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Poll: are people okay with function/operator table redesign?
Date: Mon, 20 Apr 2020 10:21:14 -0400
Message-ID: <11667.1587392474@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGnEbohsoL80JCUTaR6Pp1_pTHper7c6yWVvYU16nYzcPkqTQQ@mail.gmail.com>
References: <20200416230304.GA28390@alvherre.pgsql>
	<17560.1587083109@sss.pgh.pa.us>
	<f17a1d71-e8bf-3571-bcda-081289eccb31@2ndquadrant.com>
	<26009.1587302581@sss.pgh.pa.us>
	<CAMsGm5fAayGVzq1wy62A27LH-NL4tbdBfbHibjRuqGoMPZEL8g@mail.gmail.com>
	<10100.1587315592@sss.pgh.pa.us>
	<CAGnEbohsoL80JCUTaR6Pp1_pTHper7c6yWVvYU16nYzcPkqTQQ@mail.gmail.com>

Victor Yegorov <vyegorov@gmail.com> writes:
> While table 9.5 with functions looks quite nice, I quite dislike 9.4 with
> operators.
> Previously, I could lookup operator in the leftmost column and read on.
> Right now I have to look through the whole table (well, not really, but
> still) to find the operator.

Aside from the alternatives already discussed, the only other idea
that's come to my mind is to write operator entries in a style like

	|| as in: text || text → text
		Concatenates the two strings.
		'Post' || 'greSQL' → PostgreSQL

Not sure that that's any better, but it is another alternative.

			regards, tom lane





view thread (113+ messages)  latest in thread

Message-ID: <11667.1587392474@sss.pgh.pa.us>
Permalink:  ../11667.1587392474@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11667.1587392474@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vyegorov@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Poll: are people okay with function/operator table redesign?
  In-Reply-To: <11667.1587392474@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox