Skip to content

Commit 0e461f2

Browse files
committed
Add:
* Allow SQL-language functions to reference parameters by parameter name Currently SQL-language functions can only refer to parameters via $1, etc
1 parent 9b9cd9c commit 0e461f2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/TODO

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (bruce@momjian.us)
5-
Last updated: Fri Feb 16 21:00:55 EST 2007
5+
Last updated: Sat Feb 17 20:32:39 EST 2007
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -367,6 +367,10 @@ Functions
367367

368368
http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php
369369

370+
* Allow SQL-language functions to reference parameters by parameter name
371+
372+
Currently, SQL-language functions can only refer to parameters via $1, etc
373+
370374
* Add SPI_gettypmod() to return the typemod for a TupleDesc
371375
* Enforce typmod for function inputs, function results and parameters for
372376
spi_prepare'd statements called from PLs

doc/src/FAQ/TODO.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11-
Last updated: Fri Feb 16 21:00:55 EST 2007
11+
Last updated: Sat Feb 17 20:32:39 EST 2007
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -335,6 +335,9 @@ <h1><a name="section_5">Functions</a></h1>
335335
</li><li>Implement inlining of set-returning functions defined in SQL
336336
</li><li>Allow SQL-language functions to return results from RETURNING queries
337337
<p> <a href="http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php">http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php</a>
338+
</p>
339+
</li><li>Allow SQL-language functions to reference parameters by parameter name
340+
<p> Currently, SQL-language functions can only refer to parameters via $1, etc
338341
</p>
339342
</li><li>Add SPI_gettypmod() to return the typemod for a TupleDesc
340343
</li><li>Enforce typmod for function inputs, function results and parameters for

0 commit comments

Comments
 (0)