|
1 | 1 | .\" This is -*-nroff-*- |
2 | 2 | .\" XXX standard disclaimer belongs here.... |
3 | | -.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.2 1996/12/11 00:27:13 momjian Exp $ |
| 3 | +.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.3 1997/09/10 20:19:23 momjian Exp $ |
4 | 4 | .TH "CREATE FUNCTION" SQL 11/05/95 PostgreSQL PostgreSQL |
5 | 5 | .SH "NAME" |
6 | 6 | create function\(em define a new function |
7 | 7 | .SH "SYNOPSIS" |
8 | 8 | .nf |
9 | | -\fBcreatefunction\fP function_name\fB(\fP |
10 | | -([type1 {, type-n}]) |
| 9 | +\fBcreatefunction\fP function_name |
| 10 | +\fB(\fP[type1 {, type-n}]\fB)\fP |
11 | 11 | \fBreturns\fP type-r |
12 | 12 | \fBas\fP {'/full/path/to/objectfile' | 'sql-queries'} |
13 | 13 | \fBlanguage\fP {'c'\'sql'\'internal'} |
@@ -284,7 +284,7 @@ The body of a SQL function following |
284 | 284 | should be a list of queries separated by whitespace characters and |
285 | 285 | bracketed within quotation marks. Note that quotation marks used in |
286 | 286 | the queries must be escaped, by preceding them with two backslashes |
287 | | -(i.e.\e\e"). |
| 287 | +(i.e.\e'). |
288 | 288 | .PP |
289 | 289 | Arguments to the SQL function may be referenced in the queries using |
290 | 290 | a $n syntax: $1 refers to the first argument, $2 to the second, and so |
|