mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Allow pltcl args to spi_prepare and plpython args to plpy.prepare to be standard type aliases as well as those known in pg_type. Similar to recent change in plperl.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.45 2007/02/01 00:28:17 momjian Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.46 2007/02/21 03:27:31 adunstan Exp $ -->
|
||||
|
||||
<chapter id="pltcl">
|
||||
<title>PL/Tcl - Tcl Procedural Language</title>
|
||||
@ -331,9 +331,6 @@ spi_exec -array C "SELECT * FROM pg_class" {
|
||||
If the query uses parameters, the names of the parameter types
|
||||
must be given as a Tcl list. (Write an empty list for
|
||||
<replaceable>typelist</replaceable> if no parameters are used.)
|
||||
Presently, the parameter types must be identified by the internal
|
||||
type names shown in the system table <literal>pg_type</>; for example <literal>int4</> not
|
||||
<literal>integer</>.
|
||||
</para>
|
||||
<para>
|
||||
The return value from <function>spi_prepare</function> is a query ID
|
||||
|
Reference in New Issue
Block a user