Submitting a query inside the backend - Mailing list pgsql-hackers

From Robert Wittauer
Subject Submitting a query inside the backend
Date
Msg-id f079d5c41001050147h6234226rca22a7a5ef51c9ce@mail.gmail.com
Whole thread Raw
Responses Re: Submitting a query inside the backend
List pgsql-hackers
<p class="MsoNormal"><span lang="EN-US" style="">As part of a research project I would like to change the source code
ofPostgres. There, I want to do the following: I want to stop the optimizer at some place, issue a query from the
optimizerand use the result of the query to continue the optimization process.</span><p class="MsoNormal"><span
lang="EN-US"style="">Is there a good and clean way how I could do this? I want to submit another query inside the
existingconnection and optimizer code. <span style=""> </span>Is there some function I could use? I don’t want to do a
hardcodedscan of a table, I want to build a query string and use the parser, analyzer, optimizer, and executer to
submitthe query.</span><p class="MsoNormal"><span lang="EN-US" style="">Thanks a lot!</span><p class="MsoNormal"><span
lang="EN-US"style="">Robert</span> 

pgsql-hackers by date:

Previous
From: Leonardo F
Date:
Subject: Re: I: TODO: Allow substring/replace() to get/set bit values
Next
From: Dave Page
Date:
Subject: libpq naming on Win64