TODO: Allow SQL functions to reference parameters by name

Started by Jim Nasbyalmost 19 years ago2 messages
#1Jim Nasby
decibel@decibel.org
1 attachment(s)

Can someone add this to the TODO?

Attachments:

patchapplication/octet-stream; name=patch; x-unix-mode=0640Download
Index: TODO
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/TODO,v
retrieving revision 1.2079
diff -c -r1.2079 TODO
*** TODO	8 Feb 2007 21:51:49 -0000	1.2079
--- TODO	8 Feb 2007 22:27:30 -0000
***************
*** 358,363 ****
--- 358,367 ----
  * Add SPI_gettypmod() to return the typemod for a TupleDesc
  * Implement inlining of set-returning functions defined in SQL
  * Allow SQL-language functions to return results from RETURNING queries
+ * Allow SQL-language functions to reference parameters by parameter name
+ 
+   Currently, SQL-language functions can only refer to parameters via $1, etc
+ 
  * Enforce typmod for function inputs, function results and parameters for
    spi_prepare'd statements called from PLs
  
#2Bruce Momjian
bruce@momjian.us
In reply to: Jim Nasby (#1)
Re: TODO: Allow SQL functions to reference parameters by name

Done.

* Allow SQL-language functions to reference parameters by parameter name

Currently, SQL-language functions can only refer to parameters via $1,
etc

---------------------------------------------------------------------------

Jim Nasby wrote:

Can someone add this to the TODO?

[ Attachment, skipping... ]

--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +