diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-10-17 23:34:10 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-10-17 23:34:10 +0000 |
commit | f99e525f0f0644522c0e93cb72297acd69963cf6 (patch) | |
tree | 7df54dba3dd907684a2a51860771194afbc81886 /doc/FAQ | |
parent | b0146a2407f54166582450bd8ae2af0ca9800506 (diff) | |
download | postgresql-f99e525f0f0644522c0e93cb72297acd69963cf6.tar.gz postgresql-f99e525f0f0644522c0e93cb72297acd69963cf6.zip |
Update for tables returning function, item 5.3, from Joe Conway.
Diffstat (limited to 'doc/FAQ')
-rw-r--r-- | doc/FAQ | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL - Last updated: Sun Oct 13 23:15:09 EDT 2002 + Last updated: Thu Oct 17 19:33:40 EDT 2002 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) @@ -1113,8 +1113,11 @@ CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP ); 5.3) How do I write a C function to return a tuple? - This requires wizardry so extreme that the authors have never tried - it, though in principle it can be done. + In versions of PostgreSQL beginning with 7.3, table-returning + functions are fully supported in C, PL/PgSQL, and SQL. See the + Programmer's Guide for more information. An example of a + table-returning function defined in C can be found in + contrib/tablefunc. 5.4) I have changed a source file. Why does the recompile not see the change? |