[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix dumping of FUNCTION RTEs that contain non-function-call expr

2017-07-13 Thread Tom Lane
Fix dumping of FUNCTION RTEs that contain non-function-call expressions. The grammar will only accept something syntactically similar to a function call in a function-in-FROM expression. However, there are various ways to input something that ruleutils.c won't deparse that way, potentially leadin

[COMMITTERS] pgsql: Fix typo in v10 release notes

2017-07-13 Thread Alvaro Herrera
Fix typo in v10 release notes The new functions return a list of files in the corresponding directory, not the name of the directory itself. Pointed out by Gianni Ciolli. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2036f71b751152e443beecfdd8bffbb4e17447c2 Modi

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are

[COMMITTERS] pgsql: Fix race between GetNewTransactionId and GetOldestActiveTransact

2017-07-13 Thread Heikki Linnakangas
Fix race between GetNewTransactionId and GetOldestActiveTransactionId. The race condition goes like this: 1. GetNewTransactionId advances nextXid e.g. from 100 to 101 2. GetOldestActiveTransactionId reads the new nextXid, 101 3. GetOldestActiveTransactionId loops through the proc array. There are