Re: partitioning code reorganization
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Andres Freund <andres@anarazel.de>
Cc: Amit Langote <amitlangote09@gmail.com>, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-04-14T11:51:40Z
Lists: pgsql-hackers
Attachments
- v6-0001-Reorganize-partitioning-code-structure.patch (text/plain) patch v6-0001
Here's a final version. The one thing I don't like about this is having put PartitionRangeDatumKind in partdefs.h, which forces us to #include that file in parsenodes.h. I had to do this in order to avoid #including parsenodes.h in partbounds.h. Now maybe that is not so bad, since that file isn't *that* widely used anyway; it wouldn't cause any unnecessary bleeding of parsenodes.h into any other headers. So maybe I'll put the enum back in parsenodes. Any opinions on that? I intend to push this this evening. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Reorganize partitioning code
- da6f3e45ddb6 11.0 landed