Cleanup code in reloptions.h regarding reloption handling
authorMichael Paquier <[email protected]>
Thu, 14 Nov 2019 04:59:59 +0000 (13:59 +0900)
committerMichael Paquier <[email protected]>
Thu, 14 Nov 2019 04:59:59 +0000 (13:59 +0900)
commit50d22de9325f41a32faeb0d1055f50b43d0507b3
treeb76bf8c32d49d3e95787bb6733476a35ab48d5ec
parent1bbd608fdae7af314d8e2229e369a45a3da83cd8
Cleanup code in reloptions.h regarding reloption handling

reloptions.h includes since ba748f7 a set of macros to handle reloption
types in a way similar to how parseRelOptions() works.  They have never
been used in the core code, and we have more simple methods now to parse
and fill in rd_options for a given relation depending on its relkind, so
remove this interface to simplify things.

Per discussion between Amit Langote, Álvaro Herrera and me.

Discussion: https://postgr.es/m/CA+HiwqE6zbNO92az6pp5GiTw4tr-9rfCE0t84whQSP+YwSKjMQ@mail.gmail.com
src/backend/access/common/reloptions.c
src/include/access/reloptions.h