pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add a utility function to extract variadic function arguments
5+ messages / 1 participants
[nested] [flat]

* pgsql: Add a utility function to extract variadic function arguments
@ 2017-10-25 12:24 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2017-10-25 12:24 UTC (permalink / raw)
  To: pgsql-committers

Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


-- 
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] 5+ messages in thread

* pgsql: Add a utility function to extract variadic function arguments
@ 2017-10-25 12:24 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2017-10-25 12:24 UTC (permalink / raw)
  To: pgsql-committers

Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5c8dcd322c0ef38c257c80813de9afb0107ccc98

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


-- 
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] 5+ messages in thread

* pgsql: Add a utility function to extract variadic function arguments
@ 2017-10-25 12:24 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2017-10-25 12:24 UTC (permalink / raw)
  To: pgsql-committers

Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5c3a1bbb4778c9a4db6982e1f54add3164c81488

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


-- 
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] 5+ messages in thread

* pgsql: Add a utility function to extract variadic function arguments
@ 2017-10-25 12:24 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2017-10-25 12:24 UTC (permalink / raw)
  To: pgsql-committers

Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


-- 
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] 5+ messages in thread

* pgsql: Add a utility function to extract variadic function arguments
@ 2017-10-25 12:24 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2017-10-25 12:24 UTC (permalink / raw)
  To: pgsql-committers

Add a utility function to extract variadic function arguments

This is epecially useful in the case or "VARIADIC ANY" functions. The
caller can get the artguments and types regardless of whether or not and
explicit VARIADIC array argument has been used. The function also
provides an option to convert arguments on type "unknown" to to "text".

Michael Paquier and me, reviewed by Tom Lane.

Backpatch to 9.4 in order to support the following json bug fix.

Branch
------
master

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

Modified Files
--------------
src/backend/utils/fmgr/funcapi.c | 115 ++++++++++++++++++++++++++++++++++++++-
src/include/funcapi.h            |  23 ++++++++
2 files changed, 137 insertions(+), 1 deletion(-)


-- 
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] 5+ messages in thread


end of thread, other threads:[~2017-10-25 12:24 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 12:24 pgsql: Add a utility function to extract variadic function arguments Andrew Dunstan <andrew@dunslane.net>
2017-10-25 12:24 pgsql: Add a utility function to extract variadic function arguments Andrew Dunstan <andrew@dunslane.net>
2017-10-25 12:24 pgsql: Add a utility function to extract variadic function arguments Andrew Dunstan <andrew@dunslane.net>
2017-10-25 12:24 pgsql: Add a utility function to extract variadic function arguments Andrew Dunstan <andrew@dunslane.net>
2017-10-25 12:24 pgsql: Add a utility function to extract variadic function arguments Andrew Dunstan <andrew@dunslane.net>

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