/[pgestraier]/trunk/pgest.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/pgest.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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 */

Legend:
Removed from v.12  
changed lines
  Added in v.14

  ViewVC Help
Powered by ViewVC 1.1.26