Push attidentity and attgenerated handling into BuildDescForRelation()

Peter Eisentraut <peter@eisentraut.org>

Commit: 6d341407a6e34cd6857cf55ee4757397286542db
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-10-05T14:20:46Z
Releases: 17.0
Push attidentity and attgenerated handling into BuildDescForRelation()

Previously, this was handled by the callers separately, but it can be
trivially moved into BuildDescForRelation() so that it is handled in a
central place.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org

Files

PathChange+/−
src/backend/access/common/tupdesc.c modified +2 −0
src/backend/commands/tablecmds.c modified +0 −2

Discussion