Parent Directory | Revision Log | Patch
revision 12 by dpavlin, Wed May 25 23:38:37 2005 UTC | revision 14 by dpavlin, Thu May 26 00:06:10 2005 UTC | |
---|---|---|
# | Line 92 Datum pgest(PG_FUNCTION_ARGS) { | Line 92 Datum pgest(PG_FUNCTION_ARGS) { |
92 | } | } |
93 | ||
94 | /* limit */ | /* limit */ |
95 | if (! PG_ARGISNULL(3)) limit = PG_GETARG_INT32(3); | if (PG_ARGISNULL(3)) { |
96 | limit = 0; | |
97 | } else { | |
98 | limit = PG_GETARG_INT32(3); | |
99 | } | |
100 | ||
101 | /* offset */ | /* offset */ |
102 | if (! PG_ARGISNULL(4)) offset = PG_GETARG_INT32(4); | if (PG_ARGISNULL(4)) { |
103 | offset = 0; | |
104 | } else { | |
105 | offset = PG_GETARG_INT32(4); | |
106 | } | |
107 | ||
108 | ||
109 | /* open the database */ | /* open the database */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |