]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make some use of anonymous unions [reloptions]
authorÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 22 Jan 2026 16:04:59 +0000 (17:04 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 22 Jan 2026 16:04:59 +0000 (17:04 +0100)
commit69f98fce5bfb82260c66bdae88b6293146cf79ec
tree777c18bd971f364f20567a205ee0c388bc2c6a4a
parentc257ba83971892723c5c89955ab0dd1ef7c077d8
Make some use of anonymous unions [reloptions]

In the spirit of commit 4b7e6c73b0df and following, which see for more
details; it appears to have been quite an uncontroversial C11 feature to
use and it makes the code nicer to read.

This commit changes the relopt_value struct.

Author: Peter Eisentraut <peter@eisentraut.org>
Author: Álvaro Herrera <alvherre@kurilemu.de>
Note: Yes, this was written twice independently.
Discussion: https://postgr.es/m/202601192106.zcdi3yu2gzti@alvherre.pgsql
src/backend/access/common/reloptions.c
src/include/access/reloptions.h