summaryrefslogtreecommitdiff
path: root/contrib/tablefunc/README.tablefunc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tablefunc/README.tablefunc')
-rw-r--r--contrib/tablefunc/README.tablefunc4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tablefunc/README.tablefunc b/contrib/tablefunc/README.tablefunc
index 63b1c17d8ec..08ac4c31c17 100644
--- a/contrib/tablefunc/README.tablefunc
+++ b/contrib/tablefunc/README.tablefunc
@@ -315,7 +315,7 @@ Notes
CREATE OR REPLACE FUNCTION crosstab_float8_5_cols(text)
RETURNS setof my_crosstab_float8_5_cols
- AS '$libdir/tablefunc','crosstab' LANGUAGE 'c' STABLE STRICT;
+ AS '$libdir/tablefunc','crosstab' LANGUAGE C STABLE STRICT;
B. Use OUT parameters to define the return type implicitly.
The same example could also be done this way:
@@ -328,7 +328,7 @@ Notes
OUT category_4 FLOAT8,
OUT category_5 FLOAT8)
RETURNS setof record
- AS '$libdir/tablefunc','crosstab' LANGUAGE 'c' STABLE STRICT;
+ AS '$libdir/tablefunc','crosstab' LANGUAGE C STABLE STRICT;
Example usage