File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
2
2
Frequently Asked Questions (FAQ) for PostgreSQL
3
3
4
- Last updated: Sun Oct 13 23:15:09 EDT 2002
4
+ Last updated: Thu Oct 17 19:33:40 EDT 2002
5
5
6
6
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
7
7
@@ -1113,8 +1113,11 @@ CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP );
1113
1113
1114
1114
5.3) How do I write a C function to return a tuple?
1115
1115
1116
- This requires wizardry so extreme that the authors have never tried
1117
- it, though in principle it can be done.
1116
+ In versions of PostgreSQL beginning with 7.3, table-returning
1117
+ functions are fully supported in C, PL/PgSQL, and SQL. See the
1118
+ Programmer's Guide for more information. An example of a
1119
+ table-returning function defined in C can be found in
1120
+ contrib/tablefunc.
1118
1121
1119
1122
5.4) I have changed a source file. Why does the recompile not see the
1120
1123
change?
Original file line number Diff line number Diff line change 14
14
alink ="#0000ff ">
15
15
< H1 > Frequently Asked Questions (FAQ) for PostgreSQL</ H1 >
16
16
17
- < P > Last updated: Sun Oct 13 23:15:09 EDT 2002</ P >
17
+ < P > Last updated: Thu Oct 17 19:33:40 EDT 2002</ P >
18
18
19
19
< P > Current maintainer: Bruce Momjian (< A href =
20
20
"mailto:pgman@candle.pha.pa.us "> pgman@candle.pha.pa.us</ A > )< BR >
@@ -1408,8 +1408,11 @@ <H4><A name="5.2">5.2</A>) How can I contribute some nifty new
1408
1408
< H4 > < A name ="5.3 "> 5.3</ A > ) How do I write a C function to return a
1409
1409
tuple?</ H4 >
1410
1410
1411
- < P > This requires wizardry so extreme that the authors have never
1412
- tried it, though in principle it can be done.</ P >
1411
+ < P > In versions of PostgreSQL beginning with 7.3, table-returning
1412
+ functions are fully supported in C, PL/PgSQL, and SQL. See the
1413
+ Programmer's Guide for more information. An example of a
1414
+ table-returning function defined in C can be found in
1415
+ contrib/tablefunc.</ P >
1413
1416
1414
1417
< H4 > < A name ="5.4 "> 5.4</ A > ) I have changed a source file. Why does
1415
1418
the recompile not see the change?</ H4 >
You can’t perform that action at this time.
0 commit comments