diff options
author | Amit Kapila <akapila@postgresql.org> | 2025-08-05 09:34:22 +0000 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2025-08-05 09:34:22 +0000 |
commit | c9a5860f7a56cc639d6a73519b8b2a00d26d960c (patch) | |
tree | 82be45c8ccbf1d1e4fe48b82c33f526a76bf1778 /src/backend/lib/bit.c | |
parent | 1469e312977c8a5baeb1f9cb4222d171faf285b3 (diff) | |
download | postgresql-c9a5860f7a56cc639d6a73519b8b2a00d26d960c.tar.gz postgresql-c9a5860f7a56cc639d6a73519b8b2a00d26d960c.zip |
Throw ERROR when publish_generated_columns is specified without a value.
Previously, specifying the publication option 'publish_generated_columns'
without an explicit value would incorrectly default to 'stored', which is
not the intended behavior.
This patch fixes the issue by raising an ERROR when no value is provided
for 'publish_generated_columns', ensuring that users must explicitly
specify a valid option.
Author: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: vignesh C <vignesh21@gmail.com>
Backpatch-through: 18, where it was introduced
Discussion: https://postgr.es/m/CAHut+PsCUCWiEKmB10DxhoPfXbF6jw5RD9ib2LuaQeA_XraW7w@mail.gmail.com
Diffstat (limited to 'src/backend/lib/bit.c')
0 files changed, 0 insertions, 0 deletions