/[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 41 by dpavlin, Sat Sep 10 20:35:09 2005 UTC revision 44 by dpavlin, Sat Sep 10 22:51:03 2005 UTC
# Line 552  Datum pgest_node(PG_FUNCTION_ARGS) Line 552  Datum pgest_node(PG_FUNCTION_ARGS)
552          /* FIXME: allow user to specify depath of search */          /* FIXME: allow user to specify depath of search */
553          nres = est_node_search(node, cond, 0);          nres = est_node_search(node, cond, 0);
554    
555            if (! nres) {
556                    int status = est_node_status(node);
557                    est_cond_delete(cond);
558                    est_node_delete(node);
559                    est_free_net_env();
560                    ereport(ERROR, (errcode(ERRCODE_QUERY_CANCELED),
561                            errmsg("pgest_node: search failed, node status %d", status)));
562            }
563    
564          /* get number of results */          /* get number of results */
565          resnum = est_noderes_doc_num(nres);          resnum = est_noderes_doc_num(nres);
566    

Legend:
Removed from v.41  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26