Re: [COMMITTERS] pgsql: Fast promote mode skips checkpoint at end of recovery.

2013-01-30 Thread Simon Riggs
On 29 January 2013 16:51, Simon Riggs wrote: > On 29 January 2013 16:38, Fujii Masao wrote: > >> On second thought, we don't need such a complicated test case to produce >> the problem which derives from the same cause of reported problem. The >> procedure to produce the problem is: >> >> 1. Set

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix grammar for subscripting or field selection from a sub-SELEC

2013-01-30 Thread Tom Lane
Fix grammar for subscripting or field selection from a sub-SELECT result. Such cases should work, but the grammar failed to accept them because of our ancient precedence hacks to convince bison that extra parentheses around a sub-SELECT in an expression are unambiguous. (Formally, they *are* ambi

[COMMITTERS] pgsql: Fix plpgsql's reporting of plan-time errors in possibly-simple e

2013-01-30 Thread Tom Lane
Fix plpgsql's reporting of plan-time errors in possibly-simple expressions. exec_simple_check_plan and exec_eval_simple_expr attempted to call GetCachedPlan directly. This meant that if an error was thrown during planning, the resulting context traceback would not include the line normally contri

[COMMITTERS] pgsql: Fix plpgsql's reporting of plan-time errors in possibly-simple e

2013-01-30 Thread Tom Lane
Fix plpgsql's reporting of plan-time errors in possibly-simple expressions. exec_simple_check_plan and exec_eval_simple_expr attempted to call GetCachedPlan directly. This meant that if an error was thrown during planning, the resulting context traceback would not include the line normally contri

[COMMITTERS] pgsql: Don't use spi_priv.h in plpython.

2013-01-30 Thread Tom Lane
Don't use spi_priv.h in plpython. There may once have been a reason to violate modularity like that, but it doesn't appear that there is anymore. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2ab218b57698bf76fc31b03e6230d057f5187ba3 Modified Files -- s

[COMMITTERS] pgsql: Add --aggregate-interval option.

2013-01-30 Thread Tatsuo Ishii
Add --aggregate-interval option. The new option specifies length of aggregation interval (in seconds). May be used only together with -l. With this option, the log contains per-interval summary (number of transactions, min/max latency and two additional fields useful for variance estimation). Pat