pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
5+ messages / 1 participants
[nested] [flat]

* pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
@ 2019-02-10 02:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2019-02-10 02:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Solve cross-version-upgrade testing problem induced by 1fb57af92.

Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/068503c76511cdb0080bab689662a20e86b9c845

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl                                | 4 ++--
src/test/modules/test_ddl_deparse/expected/create_transform.out | 6 ++++--
src/test/modules/test_ddl_deparse/sql/create_transform.sql      | 6 ++++--
src/test/regress/expected/object_address.out                    | 4 +++-
src/test/regress/sql/object_address.sql                         | 4 +++-
5 files changed, 16 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
@ 2019-02-10 02:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2019-02-10 02:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Solve cross-version-upgrade testing problem induced by 1fb57af92.

Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ee6370978fd921c22ec8bf2239ad4d30ae126fed

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl                                | 4 ++--
src/test/modules/test_ddl_deparse/expected/create_transform.out | 6 ++++--
src/test/modules/test_ddl_deparse/sql/create_transform.sql      | 6 ++++--
src/test/regress/expected/object_address.out                    | 4 +++-
src/test/regress/sql/object_address.sql                         | 4 +++-
5 files changed, 16 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
@ 2019-02-10 02:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2019-02-10 02:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Solve cross-version-upgrade testing problem induced by 1fb57af92.

Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7cbfd8eb166dd7ab06201f29b72a467233fd7c43

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl                                | 4 ++--
src/test/modules/test_ddl_deparse/expected/create_transform.out | 6 ++++--
src/test/modules/test_ddl_deparse/sql/create_transform.sql      | 6 ++++--
src/test/regress/expected/object_address.out                    | 4 +++-
src/test/regress/sql/object_address.sql                         | 4 +++-
5 files changed, 16 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
@ 2019-02-10 02:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2019-02-10 02:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Solve cross-version-upgrade testing problem induced by 1fb57af92.

Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4b235947c7c63a084a90c2e049d79a09ff03b9b3

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl                                | 4 ++--
src/test/modules/test_ddl_deparse/expected/create_transform.out | 6 ++++--
src/test/modules/test_ddl_deparse/sql/create_transform.sql      | 6 ++++--
src/test/regress/expected/object_address.out                    | 4 +++-
src/test/regress/sql/object_address.sql                         | 4 +++-
5 files changed, 16 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92
@ 2019-02-10 02:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2019-02-10 02:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Solve cross-version-upgrade testing problem induced by 1fb57af92.

Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1afcf6aed73997c8beb340195a37cf5939c9eb2e

Modified Files
--------------
src/test/modules/test_ddl_deparse/expected/create_transform.out | 6 ++++--
src/test/modules/test_ddl_deparse/sql/create_transform.sql      | 6 ++++--
src/test/regress/expected/object_address.out                    | 4 +++-
src/test/regress/sql/object_address.sql                         | 4 +++-
4 files changed, 14 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2019-02-10 02:02 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-10 02:02 pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92 Tom Lane <tgl@sss.pgh.pa.us>
2019-02-10 02:02 pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92 Tom Lane <tgl@sss.pgh.pa.us>
2019-02-10 02:02 pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92 Tom Lane <tgl@sss.pgh.pa.us>
2019-02-10 02:02 pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92 Tom Lane <tgl@sss.pgh.pa.us>
2019-02-10 02:02 pgsql: Solve cross-version-upgrade testing problem induced by 1fb57af92 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