From 0e461f275b9a69e28fd62ab15a6ec5e8bb61ff7a Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Sun, 18 Feb 2007 01:32:55 +0000 Subject: [PATCH] Add: * Allow SQL-language functions to reference parameters by parameter name Currently SQL-language functions can only refer to parameters via $1, etc --- doc/TODO | 6 +++++- doc/src/FAQ/TODO.html | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/TODO b/doc/TODO index c9221672869..2cbd7987cc1 100644 --- a/doc/TODO +++ b/doc/TODO @@ -2,7 +2,7 @@ PostgreSQL TODO List ==================== Current maintainer: Bruce Momjian (bruce@momjian.us) -Last updated: Fri Feb 16 21:00:55 EST 2007 +Last updated: Sat Feb 17 20:32:39 EST 2007 The most recent version of this document can be viewed at http://www.postgresql.org/docs/faqs.TODO.html. @@ -367,6 +367,10 @@ Functions http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php +* Allow SQL-language functions to reference parameters by parameter name + + Currently, SQL-language functions can only refer to parameters via $1, etc + * Add SPI_gettypmod() to return the typemod for a TupleDesc * Enforce typmod for function inputs, function results and parameters for spi_prepare'd statements called from PLs diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html index 07f3f93da1c..c88d1e41326 100644 --- a/doc/src/FAQ/TODO.html +++ b/doc/src/FAQ/TODO.html @@ -8,7 +8,7 @@ <body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF"> <h1><a name="section_1">PostgreSQL TODO List</a></h1> <p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/> -Last updated: Fri Feb 16 21:00:55 EST 2007 +Last updated: Sat Feb 17 20:32:39 EST 2007 </p> <p>The most recent version of this document can be viewed at<br/> <a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>. @@ -335,6 +335,9 @@ first. There is also a developer's wiki at<br/> </li><li>Implement inlining of set-returning functions defined in SQL </li><li>Allow SQL-language functions to return results from RETURNING queries <p> <a href="http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php">http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php</a> +</p> + </li><li>Allow SQL-language functions to reference parameters by parameter name +<p> Currently, SQL-language functions can only refer to parameters via $1, etc </p> </li><li>Add SPI_gettypmod() to return the typemod for a TupleDesc </li><li>Enforce typmod for function inputs, function results and parameters for -- GitLab