|From:||Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>|
|To:||Nikolay Shaplov <dhyan(at)nataraj(dot)su>|
|Cc:||pgsql-hackers(at)postgresql(dot)org, Andres Freund <andres(at)anarazel(dot)de>|
|Subject:||Re: [PATCH] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind for custom AM|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
Nikolay Shaplov wrote:
> В письме от 25 июня 2017 21:05:49 пользователь Nikolay Shaplov написал:
> I've just made sure that patch is still applyable to the current master.
> And I am still waiting for reviews :-)
I see that this patch adds a few tests for reloptions, for instance in
bloom. I think we should split this in at least two commits, one that
adds those tests before the functionality change, so that they can be
committed in advance, verify that the buildfarm likes it with the
current code, and verify the coverage.
I also noticed that your patch adds an error message that didn't exist
+ errmsg("col%i should not be grater than length", i)));
this seems a bit troublesome, because of the "col%i" thing and also
because of the typo. I wonder if this means you've changed the way
sanity checks work here.
The new checks around toast table creation look like they belong to a
completely independent patch also ... the error message there goes
against message style guidelines also.
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
|Next Message||Amit Khandekar||2017-09-03 11:40:20||Re: UPDATE of partition key|
|Previous Message||Nikolay Shaplov||2017-09-03 09:26:46||Re: [PATCH] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind for custom AM|