Re: [PATCH v.7] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind for custom AM

From: Nikolay Shaplov <dhyan(at)nataraj(dot)su>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Subject: Re: [PATCH v.7] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind for custom AM
Date: 2017-03-29 12:51:43
Message-ID: 1512589.SLJRFdfOaX@x200m
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi!

Here is a new version of the patch.

I've run pgindent on all my code.

I've declared static all functions I can.

I've moved size of Bytea to the arguments of allocateOptionsCatalog, and I
also pass expected number of catalog items there. If it is positive, it will
be treated as strict number of items. If it is -1, then new items will be
dynamically reparroced when needed.

--
Nikolay Shaplov, independent Perl & C/C++ developer. Available for hire.

Attachment Content-Type Size
reloptions7.diff text/x-patch 219.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2017-03-29 13:06:41 Re: Logical replication existing data copy
Previous Message Rahila Syed 2017-03-29 12:13:59 Re: Adding support for Default partition in partitioning