[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Allow regex operations to be terminated early by query cancel re

2014-03-01 Thread Tom Lane
Allow regex operations to be terminated early by query cancel requests. The regex code didn't have any provision for query cancel; which is unsurprising given its non-Postgres origin, but still problematic since some operations can take a long time. Introduce a callback function to check for a

[COMMITTERS] pgsql: Various Coverity-spotted fixes

2014-03-01 Thread Stephen Frost
Various Coverity-spotted fixes A number of issues were identified by the Coverity scanner and are addressed in this patch. None of these appear to be security issues and many are mostly cosmetic changes. Short comments for each of the changes follows. Correct the semi-colon placement in