[COMMITTERS] pgsql: Introduce timeout handling framework

2012-07-16 Thread Alvaro Herrera
Introduce timeout handling framework Management of timeouts was getting a little cumbersome; what we originally had was more than enough back when we were only concerned about deadlocks and query cancel; however, when we added timeouts for standby processes, the code got considerably messier. Sin

[COMMITTERS] pgsql: Add comment why seemingly dead code is necessary

2012-07-16 Thread Peter Eisentraut
Add comment why seemingly dead code is necessary Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a76c857eba977a91a07ab752d4811eb5734f0b5c Modified Files -- src/pl/plperl/plperl.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) -- Sen

[COMMITTERS] pgsql: Remove unreachable code

2012-07-16 Thread Peter Eisentraut
Remove unreachable code The Solaris Studio compiler warns about these instances, unlike more mainstream compilers such as gcc. But manual inspection showed that the code is clearly not reachable, and we hope no worthy compiler will complain about removing this code. Branch -- master Details

[COMMITTERS] pgsql: Avoid pre-determining index names during CREATE TABLE LIKE parsi

2012-07-16 Thread Tom Lane
Avoid pre-determining index names during CREATE TABLE LIKE parsing. Formerly, when trying to copy both indexes and comments, CREATE TABLE LIKE had to pre-assign names to indexes that had comments, because it made up an explicit CommentStmt command to apply the comment and so it had to know the nam

[COMMITTERS] pgsql: Avoid pre-determining index names during CREATE TABLE LIKE parsi

2012-07-16 Thread Tom Lane
Avoid pre-determining index names during CREATE TABLE LIKE parsing. Formerly, when trying to copy both indexes and comments, CREATE TABLE LIKE had to pre-assign names to indexes that had comments, because it made up an explicit CommentStmt command to apply the comment and so it had to know the nam