diff options
author | Pavan Deolasee | 2016-10-27 15:02:55 +0000 |
---|---|---|
committer | Pavan Deolasee | 2016-10-27 15:02:55 +0000 |
commit | c52792488cd87e67e62ec61f5b56f461900353b4 (patch) | |
tree | 02b4a719f979659de8f73fce6c1ca65cef2e323f /contrib/xml2/xpath.c | |
parent | 891e6be57e5580b54a9df9fd42cb9bd10d0e7b21 (diff) | |
parent | b5bce6c1ec6061c8a4f730d927e162db7e2ce365 (diff) |
Merge commit 'b5bce6c1ec6061c8a4f730d927e162db7e2ce365'
Diffstat (limited to 'contrib/xml2/xpath.c')
-rw-r--r-- | contrib/xml2/xpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/xml2/xpath.c b/contrib/xml2/xpath.c index 655c5322cd..ac28996867 100644 --- a/contrib/xml2/xpath.c +++ b/contrib/xml2/xpath.c @@ -553,8 +553,7 @@ xpath_table(PG_FUNCTION_ARGS) int numpaths; int ret; - int proc; - int i; + uint64 proc; int j; int rownr; /* For issuing multiple rows from one original * document */ @@ -664,7 +663,6 @@ xpath_table(PG_FUNCTION_ARGS) query_buf.data); proc = SPI_processed; - /* elog(DEBUG1,"xpath_table: SPI returned %d rows",proc); */ tuptable = SPI_tuptable; spi_tupdesc = tuptable->tupdesc; @@ -692,6 +690,8 @@ xpath_table(PG_FUNCTION_ARGS) PG_TRY(); { /* For each row i.e. document returned from SPI */ + uint64 i; + for (i = 0; i < proc; i++) { char *pkey; |