Change publication's publish_generated_columns option type to enum.

Amit Kapila <akapila@postgresql.org>

Commit: e65dbc9927fb86aa3c8a914ede6a6ae934384f5a
Author: Amit Kapila <akapila@postgresql.org>
Date: 2025-01-23T09:58:37Z
Releases: 18.0
Change publication's publish_generated_columns option type to enum.

The current boolean publish_generated_columns option only supports a
binary choice, which is insufficient for future enhancements where
generated columns can be of different types (e.g., stored or virtual). The
supported values for the publish_generated_columns option are 'none' and
'stored'.

Author: Vignesh C <vignesh21@gmail.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/d718d219-dd47-4a33-bb97-56e8fc4da994@eisentraut.org
Discussion: https://postgr.es/m/B80D17B2-2C8E-4C7D-87F2-E5B4BE3C069E@gmail.com

Files

Documentation touched

Discussion