Re: [COMMITTERS] pgsql: Add new function dsa_allocate0.

2017-02-16 Thread Thomas Munro
On Fri, Feb 17, 2017 at 11:34 AM, Thomas Munro <thomas.mu...@enterprisedb.com> wrote: > On Fri, Feb 17, 2017 at 7:02 AM, Robert Haas <rh...@postgresql.org> wrote: >> http://git.postgresql.org/pg/commitdiff/9acb85597f1223ac26a5b19a9345849c43d0ff54 > Hmm. This will segfault

Re: [COMMITTERS] pgsql: Add new function dsa_allocate0.

2017-02-16 Thread Thomas Munro
changed, 17 insertions(+) Hmm. This will segfault if you're out of memory. -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Sync our copy of the timezone library with IANA release tzcode20

2016-10-19 Thread Thomas Munro
^~~~ /usr/include/stdint.h:153:20: note: expanded from macro 'SIZE_MAX' #define SIZE_MAX UINT64_MAX ^~ /usr/include/stdint.h:87:27: note: expanded from macro 'UINT64_MAX' #define UINT64_MAX18446744073709551615ULL

Re: [COMMITTERS] pgsql: Replace PostmasterRandom() with a stronger source, second attemp

2016-12-06 Thread Thomas Munro
On Tue, Dec 6, 2016 at 12:44 AM, Heikki Linnakangas <heikki.linnakan...@iki.fi> wrote: > src/backend/storage/lmgr/lwlocknames.txt | 1 + Missing one tab? -- Thomas Munro http://www.enterprisedb.com whitespace.patch Description: Binary data -- Sent via pgsql-committer

Re: [COMMITTERS] pgsql: Faster expression evaluation and targetlist projection.

2017-03-25 Thread Thomas Munro
on is now implemented as part of expression evaluation. > > This both leads to significant performance improvements, and makes > future just-in-time compilation of expressions easier. This is a huge achievement. Congratulations! -- Thomas Munro http://www.enterprisedb.com -- Sent via

Re: [COMMITTERS] pgsql: hash: Add write-ahead logging support.

2017-03-14 Thread Thomas Munro
their use is discouraged src/test/mb/expected/sjis.out:WARNING: hash indexes are not WAL-logged and their use is discouraged src/test/mb/expected/utf8.out:WARNING: hash indexes are not WAL-logged and their use is discouraged -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] Vendor LLVM 4.0.

2017-04-01 Thread Thomas Munro
tails > --- > http://git.postgresql.org/pg/commitdiff/d31084e9d1118b25fd16580d9d8c2924b5740dff This has broken VAX build farm members "poisson" and "davril". One minor nitpick, I think it needs to rewritten in C so that pgindent can handle it. -- Thomas Munro http://

Re: [COMMITTERS] pgsql: Fix inadequacies in recently added wait events

2017-08-08 Thread Thomas Munro
the others I've talked about recently [1][2]. [1] https://www.postgresql.org/message-id/CAEepm=3da6ajyxiuk03pakt1t7egwann9cajc773ct1rdpo...@mail.gmail.com [2] https://www.postgresql.org/message-id/CAEepm=0b7ym9mzsviq1d-hnt4koarvejvsfayvfyknv-pvd...@mail.gmail.com -- Thomas Munro http://www.

Re: [COMMITTERS] pgsql: Add support for coordinating record typmods among parallel worke

2017-09-14 Thread Thomas Munro
On Fri, Sep 15, 2017 at 4:34 PM, Thomas Munro <thomas.mu...@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

Re: [COMMITTERS] pgsql: Add support for coordinating record typmods among parallel worke

2017-09-14 Thread Thomas Munro
"utils/typcache.h" /* * A struct encapsulating some elements of a user's session. For now this -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add support for coordinating record typmods among parallel worke

2017-09-14 Thread Thomas Munro
On Fri, Sep 15, 2017 at 3:45 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Thomas Munro <thomas.mu...@enterprisedb.com> writes: >> My compiler, C++ and more recent C standards are OK with identical >> redefinition of a typedef like that, but not the older standards or &g

Re: [COMMITTERS] pgsql: Add support for coordinating record typmods among parallel worke

2017-09-15 Thread Thomas Munro
y getting rid of the code that accesses shmem in the detach hook. With this patch applied installcheck survives on a cluster with force_parallel_worker=regress. -- Thomas Munro http://www.enterprisedb.com 0001-Fix-crash-in-shared_record_typmod_registry_worker_de.patch Description: Binary data --

Re: [COMMITTERS] pgsql: Set partitioned_rels appropriately when UNION ALL is used.

2017-09-19 Thread Thomas Munro
ed, 40 insertions(+), 8 deletions(-) I spotted a typo: s/unexpcted/unexpected/. -- Thomas Munro http://www.enterprisedb.com typo.patch Description: Binary data -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test a bit more robust.

2017-09-21 Thread Thomas Munro
control but we can't see its output, maybe due to -Otarget, before the whole job is nuked by Travis for not making progress). -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add support for coordinating record typmods among parallel worke

2017-09-15 Thread Thomas Munro
between different sessions (since reused backends might as well benefit from prewarmed caches where it makes sense). For example, if plpgsql is holding onto RECORD TupleDescs or typmods it would need to stop doing that when it receives a session-going-away callback, or store its state in some data s

Re: [COMMITTERS] pgsql: Fix bogus size calculation introduced by commit cc5f81366.

2017-09-17 Thread Thomas Munro
itted anything in the meantime. Hah. I guess Coverity analysis is going to have to remain post-commit only. [1] https://scan.coverity.com/travis_ci -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make chan

Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.

2017-09-08 Thread Thomas Munro
On Sat, Sep 9, 2017 at 10:23 AM, Thomas Munro <thomas.mu...@enterprisedb.com> wrote: > On Sat, Sep 9, 2017 at 9:49 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Robert Haas <rh...@postgresql.org> writes: >>> Allow a partitioned table to have a default part

Re: [COMMITTERS] pgsql: Allow a partitioned table to have a default partition.

2017-09-08 Thread Thomas Munro
und_whole_row) elog(ERROR, "unexpected whole-row reference found in partition key"); -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers