From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Add support for coordinating record typmods among parallel worke |
Date: | 2017-09-15 03:38:09 |
Message-ID: | CAEepm=08r6ssWnM7wOAN=omz=s9DHujsJjJY6SN_PTHayPR0hw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Fri, Sep 15, 2017 at 3:18 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
>> Add support for coordinating record typmods among parallel workers.
>
> Buildfarm not happy ...
My compiler, C++ and more recent C standards are OK with identical
redefinition of a typedef like that, but not the older standards or
those particular compilers. D'oh. (I should figure out how to make
my automatic patch tester this fussy). I think we should probably
just do this:
diff --git a/src/include/access/session.h b/src/include/access/session.h
index 8376dc53127..910a9815d78 100644
--- a/src/include/access/session.h
+++ b/src/include/access/session.h
@@ -13,9 +13,7 @@
#define SESSION_H
#include "lib/dshash.h"
-
-/* Defined in typcache.c */
-typedef struct SharedRecordTypmodRegistry SharedRecordTypmodRegistry;
+#include "utils/typcache.h"
/*
* A struct encapsulating some elements of a user's session. For now this
--
Thomas Munro
http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-09-15 03:45:20 | Re: pgsql: Add support for coordinating record typmods among parallel worke |
Previous Message | Tom Lane | 2017-09-15 03:18:11 | Re: pgsql: Add support for coordinating record typmods among parallel worke |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-09-15 03:45:20 | Re: pgsql: Add support for coordinating record typmods among parallel worke |
Previous Message | Tom Lane | 2017-09-15 03:29:05 | Re: POC: Sharing record typmods between backends |