Re: pgsql: Add support for coordinating record typmods among parallel worke
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>,
pgsql-committers <pgsql-committers@postgresql.org>
Date: 2017-09-15T04:42:50Z
Lists: pgsql-hackers
Attachments
- 0001-Don-t-use-anonymous-unions.patch (application/octet-stream) patch 0001
On Fri, Sep 15, 2017 at 4:34 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > Here's a version that just forward declares SharedRecordTypmodRegistry > in session.h (but keeps the typedef in typcache.h where it is useful > for shorter function prototypes). Neither GCC 6 -Wall -std=c89 not > Clang -Wall -std=c89 complained about this problem. I found an old > GCC 4.3 compiler and it complained about the typedef redefinition and > also the use of an anonymous union, also fixed in the attached. Sorry > about that -- clearly I need to test my patches on more compilers in > future. Rebased on your fix. Investigating the runtime failure... -- Thomas Munro http://www.enterprisedb.com
Commits
-
Get rid of shared_record_typmod_registry_worker_detach; it doesn't work.
- 71aa4801a818 11.0 landed
-
Add support for coordinating record typmods among parallel workers.
- cc5f81366c36 11.0 cited
-
Add minimal regression test for blessed record type transfer.
- d36f7efb39e1 11.0 cited