pgsql: Extend PageIsVerified() to handle more custom options

2020-10-25 Thread Michael Paquier
Extend PageIsVerified() to handle more custom options This is useful for checks of relation pages without having to load the pages into the shared buffers, and two cases can make use of that: page verification in base backups and the online, lock-safe, flavor. Compatibility is kept with past vers

pgsql: Fix corner case for a BEFORE ROW UPDATE trigger returning OLD.

2020-10-25 Thread Tom Lane
Fix corner case for a BEFORE ROW UPDATE trigger returning OLD. If the old row has any "missing" attributes that are supposed to be retrieved from an associated tuple descriptor, the wrong things happened because the trigger result is shoved directly into an executor slot that lacks the missing-att

pgsql: Fix corner case for a BEFORE ROW UPDATE trigger returning OLD.

2020-10-25 Thread Tom Lane
Fix corner case for a BEFORE ROW UPDATE trigger returning OLD. If the old row has any "missing" attributes that are supposed to be retrieved from an associated tuple descriptor, the wrong things happened because the trigger result is shoved directly into an executor slot that lacks the missing-att

pgsql: Fix corner case for a BEFORE ROW UPDATE trigger returning OLD.

2020-10-25 Thread Tom Lane
Fix corner case for a BEFORE ROW UPDATE trigger returning OLD. If the old row has any "missing" attributes that are supposed to be retrieved from an associated tuple descriptor, the wrong things happened because the trigger result is shoved directly into an executor slot that lacks the missing-att

pgsql: Fix incorrect parameter name in a function header comment

2020-10-25 Thread David Rowley
Fix incorrect parameter name in a function header comment Author: Zhijie Hou Discussion: https://postgr.es/m/14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local Backpatch-through: 12, where the mistake was introduced Branch -- REL_12_STABLE Details --- https://git.postgre

pgsql: Fix incorrect parameter name in a function header comment

2020-10-25 Thread David Rowley
Fix incorrect parameter name in a function header comment Author: Zhijie Hou Discussion: https://postgr.es/m/14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local Backpatch-through: 12, where the mistake was introduced Branch -- REL_13_STABLE Details --- https://git.postgre

pgsql: Fix incorrect parameter name in a function header comment

2020-10-25 Thread David Rowley
Fix incorrect parameter name in a function header comment Author: Zhijie Hou Discussion: https://postgr.es/m/14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local Backpatch-through: 12, where the mistake was introduced Branch -- master Details --- https://git.postgresql.org