pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix dependency, when changing a function's argument/return type.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:37 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:37 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/30681c830d69ca88cf66105c94e63d3e4d905681

Modified Files
--------------
src/backend/commands/functioncmds.c       | 20 ++++++++++++++++++++
src/test/regress/expected/create_type.out | 25 +++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 11 +++++++++++
3 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:48 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:48 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
REL9_6_STABLE

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

Modified Files
--------------
src/backend/commands/functioncmds.c       | 20 ++++++++++++++++++++
src/test/regress/expected/create_type.out | 25 +++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 11 +++++++++++
3 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:48 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:48 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/501e6f8b7875a1d7928653d0a0a01b84db6c1257

Modified Files
--------------
src/backend/commands/functioncmds.c       | 20 ++++++++++++++++++++
src/test/regress/expected/create_type.out | 25 +++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 11 +++++++++++
3 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:48 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:48 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6338b50b933520551d2d6b6a2e5b7de8e53fe9e2

Modified Files
--------------
src/backend/commands/functioncmds.c       | 32 +++++++++++++++++++++++++++++++
src/test/regress/expected/create_type.out | 31 ++++++++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 17 ++++++++++++++++
3 files changed, 80 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:48 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:48 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
REL9_3_STABLE

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

Modified Files
--------------
src/backend/commands/functioncmds.c       | 32 +++++++++++++++++++++++++++++++
src/test/regress/expected/create_type.out | 31 ++++++++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 17 ++++++++++++++++
3 files changed, 80 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix dependency, when changing a function's argument/return type.
@ 2017-06-16 08:48 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-06-16 08:48 UTC (permalink / raw)
  To: pgsql-committers

Fix dependency, when changing a function's argument/return type.

When a new base type is created using the old-style procedure of first
creating the input/output functions with "opaque" in place of the base
type, the "opaque" argument/return type is changed to the final base type,
on CREATE TYPE. However, we did not create a pg_depend record when doing
that, so the functions were left not depending on the type.

Fixes bug #14706, reported by Karen Huddleston.

Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org

Branch
------
REL9_2_STABLE

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

Modified Files
--------------
src/backend/commands/functioncmds.c       | 32 +++++++++++++++++++++++++++++++
src/test/regress/expected/create_type.out | 31 ++++++++++++++++++++++++++++++
src/test/regress/sql/create_type.sql      | 17 ++++++++++++++++
3 files changed, 80 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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


end of thread, other threads:[~2017-06-16 08:48 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 08:37 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-06-16 08:48 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-06-16 08:48 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-06-16 08:48 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-06-16 08:48 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-06-16 08:48 pgsql: Fix dependency, when changing a function's argument/return type. Heikki Linnakangas <heikki.linnakangas@iki.fi>

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