pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Mark factorial operator, and postfix operators in general, as de 7+ messages / 1 participants [nested] [flat]
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 18:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 18:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Per discussion, we're planning to remove parser support for postfix operators in order to simplify the grammar. So it behooves us to put out a deprecation notice at least one release before that. There is only one built-in postfix operator, ! for factorial. Label it deprecated in the docs and in pg_description, and adjust some examples that formerly relied on it. (The sister prefix operator !! is also deprecated. We don't really have to remove that one, but since we're suggesting that people use factorial() instead, it seems better to remove both operators.) Also state in the CREATE OPERATOR ref page that postfix operators in general are going away. Although this changes the initial contents of pg_description, I did not force a catversion bump; it doesn't seem essential. In v13, also back-patch 4c5cf5431, so that there's someplace for the <link>s to point to. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6ca547cf75ef6e922476c51a3fb5e253eef5f1b6 Modified Files -------------- doc/src/sgml/func.sgml | 6 ++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- doc/src/sgml/syntax.sgml | 23 ++--------------------- doc/src/sgml/typeconv.sgml | 17 ++++++++--------- src/include/catalog/pg_operator.dat | 4 ++-- src/include/catalog/pg_proc.dat | 1 + 6 files changed, 25 insertions(+), 35 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 18:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 18:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Per discussion, we're planning to remove parser support for postfix operators in order to simplify the grammar. So it behooves us to put out a deprecation notice at least one release before that. There is only one built-in postfix operator, ! for factorial. Label it deprecated in the docs and in pg_description, and adjust some examples that formerly relied on it. (The sister prefix operator !! is also deprecated. We don't really have to remove that one, but since we're suggesting that people use factorial() instead, it seems better to remove both operators.) Also state in the CREATE OPERATOR ref page that postfix operators in general are going away. Although this changes the initial contents of pg_description, I did not force a catversion bump; it doesn't seem essential. In v13, also back-patch 4c5cf5431, so that there's someplace for the <link>s to point to. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/845cfe012fd15300cd090b05fb4029a26b848a67 Modified Files -------------- doc/src/sgml/func.sgml | 21 ++++++++++++++++++++- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- doc/src/sgml/syntax.sgml | 23 ++--------------------- doc/src/sgml/typeconv.sgml | 17 ++++++++--------- src/include/catalog/pg_operator.dat | 4 ++-- src/include/catalog/pg_proc.dat | 1 + 6 files changed, 41 insertions(+), 34 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 20:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 20:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Back-patch key parts of 4c5cf5431 and 6ca547cf7 into stable branches. I didn't touch pg_description entries here, so it's purely a docs change; and I didn't fool with any examples either. The main point is so that anyone who's wondering if factorial() exists in the stable branches will be reassured. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9dee85b5b83310598c66efc9322ed6792c77fa78 Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++++++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 20:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 20:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Back-patch key parts of 4c5cf5431 and 6ca547cf7 into stable branches. I didn't touch pg_description entries here, so it's purely a docs change; and I didn't fool with any examples either. The main point is so that anyone who's wondering if factorial() exists in the stable branches will be reassured. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d1ee6ce4c9ff5f5b1cc890f573ce836c0a1fd043 Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++++++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 20:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 20:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Back-patch key parts of 4c5cf5431 and 6ca547cf7 into stable branches. I didn't touch pg_description entries here, so it's purely a docs change; and I didn't fool with any examples either. The main point is so that anyone who's wondering if factorial() exists in the stable branches will be reassured. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1f38d385119002e060a1beb8fb54e63e87939216 Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++++++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 20:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 20:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Back-patch key parts of 4c5cf5431 and 6ca547cf7 into stable branches. I didn't touch pg_description entries here, so it's purely a docs change; and I didn't fool with any examples either. The main point is so that anyone who's wondering if factorial() exists in the stable branches will be reassured. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1ce20826ce80af757658b682c94acb584916e5fe Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++++++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Mark factorial operator, and postfix operators in general, as de @ 2020-08-30 20:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-08-30 20:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Mark factorial operator, and postfix operators in general, as deprecated. Back-patch key parts of 4c5cf5431 and 6ca547cf7 into stable branches. I didn't touch pg_description entries here, so it's purely a docs change; and I didn't fool with any examples either. The main point is so that anyone who's wondering if factorial() exists in the stable branches will be reassured. Mark Dilger and John Naylor, with some adjustments by me Discussion: https://postgr.es/m/BE2DF53D-251A-4E26-972F-930E523580E9@enterprisedb.com Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cc8a71e93084487e2b7796483ef0b71c1ba79678 Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++++++++-- doc/src/sgml/ref/create_operator.sgml | 9 ++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2020-08-30 20:03 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-08-30 18:37 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 18:37 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 20:03 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 20:03 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 20:03 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 20:03 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us> 2020-08-30 20:03 pgsql: Mark factorial operator, and postfix operators in general, as de Tom Lane <tgl@sss.pgh.pa.us>
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