mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
This relation option gives the possibility to define the attribute type that can be used for chunk_id in a TOAST table when it is initially created. An update of this parameter has no effect if a TOAST table already exists under the relation, even on rewrites. It cannot be set for TOAST relations. This new option can be set only to "oid" as of this commit. This feature is extracted as a patch of its own to ease the introduction of a second mode in a follow-up change, related to the introduction of 8-byte OIDs in external TOAST pointers. Bump catalog version, as StdRdOptions has changed. Author: Michael Paquier <michael@paquier.xyz> Reviewed-by: Greg Burd <greg@burd.me> Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp> Discussion: https://postgr.es/m/af19kUjwjhaoUTLn@paquier.xyz