pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Port regress-python3-mangle.mk to Solaris "sed". 9+ messages / 2 participants [nested] [flat]
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/72a9bd04780449fcabebce1d09a5225151076b7c Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/766c8fce5281f8a7cf690e1fe2dc3a19c326578f Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/14652a19feab4d1cf0c637b896f89427d05b9c91 Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4a3de4092b2f5b53d325f53f1307d21e24bb922a Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e3ac7d17616b6baea12d21e3a0b32c683b81f9a6 Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed". @ 2021-04-13 02:33 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 9+ messages in thread From: Noah Misch @ 2021-04-13 02:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed". It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions). Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c3556f6fac349b31da2fd00107469ce36fb37536 Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. @ 2022-09-01 01:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 9+ messages in thread From: Tom Lane @ 2022-09-01 01:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed", redux. Per experimentation and buildfarm failures, Solaris' "sed" has got some kind of problem with regexes that use both '*' and '[[:alpha:]]'. We can work around that by replacing '[[:alpha:]]' with '[a-zA-Z]', which is plenty good enough for our purposes, especially since this is only needed in long-stable branches. I chose to flat-out remove the second pattern of this sort, 's/except \([a-zA-Z][a-zA-Z.]*\), *\([a-zA-Z][a-zA-Z]*\):/except \1 as \2:/g' because we haven't needed it since 8.4. Follow-on to c3556f6fa, which probably missed catching this because the problematic pattern was already gone when that patch was written. Patch v10-v12 only, as the problem manifests only there. We have a line of dead code in v13-v14, which isn't worth changing, and the whole mess is gone as of v15. Discussion: https://postgr.es/m/165561.1661984701@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cc0e506a64104c8a4ac7ee0515781c0caeacddad Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. @ 2022-09-01 01:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 9+ messages in thread From: Tom Lane @ 2022-09-01 01:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed", redux. Per experimentation and buildfarm failures, Solaris' "sed" has got some kind of problem with regexes that use both '*' and '[[:alpha:]]'. We can work around that by replacing '[[:alpha:]]' with '[a-zA-Z]', which is plenty good enough for our purposes, especially since this is only needed in long-stable branches. I chose to flat-out remove the second pattern of this sort, 's/except \([a-zA-Z][a-zA-Z.]*\), *\([a-zA-Z][a-zA-Z]*\):/except \1 as \2:/g' because we haven't needed it since 8.4. Follow-on to c3556f6fa, which probably missed catching this because the problematic pattern was already gone when that patch was written. Patch v10-v12 only, as the problem manifests only there. We have a line of dead code in v13-v14, which isn't worth changing, and the whole mess is gone as of v15. Discussion: https://postgr.es/m/165561.1661984701@sss.pgh.pa.us Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ec20545b20de29ae78e8cc8b6860c72be3ae71cd Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. @ 2022-09-01 01:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 9+ messages in thread From: Tom Lane @ 2022-09-01 01:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Port regress-python3-mangle.mk to Solaris "sed", redux. Per experimentation and buildfarm failures, Solaris' "sed" has got some kind of problem with regexes that use both '*' and '[[:alpha:]]'. We can work around that by replacing '[[:alpha:]]' with '[a-zA-Z]', which is plenty good enough for our purposes, especially since this is only needed in long-stable branches. I chose to flat-out remove the second pattern of this sort, 's/except \([a-zA-Z][a-zA-Z.]*\), *\([a-zA-Z][a-zA-Z]*\):/except \1 as \2:/g' because we haven't needed it since 8.4. Follow-on to c3556f6fa, which probably missed catching this because the problematic pattern was already gone when that patch was written. Patch v10-v12 only, as the problem manifests only there. We have a line of dead code in v13-v14, which isn't worth changing, and the whole mess is gone as of v15. Discussion: https://postgr.es/m/165561.1661984701@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/02d060d0f75b15114df0cd31a6d1017e1fee86a1 Modified Files -------------- src/pl/plpython/regress-python3-mangle.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2022-09-01 01:33 UTC | newest] Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2021-04-13 02:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed". Noah Misch <noah@leadboat.com> 2022-09-01 01:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. Tom Lane <tgl@sss.pgh.pa.us> 2022-09-01 01:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. Tom Lane <tgl@sss.pgh.pa.us> 2022-09-01 01:33 pgsql: Port regress-python3-mangle.mk to Solaris "sed", redux. 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