Push attidentity and attgenerated handling into BuildDescForRelation()
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 5 Oct 2023 14:17:16 +0000 (16:17 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 5 Oct 2023 14:20:46 +0000 (16:20 +0200)
commit6d341407a6e34cd6857cf55ee4757397286542db
tree8d712941a9fc6cd9958d542665b0b90363a80e71
parente29c46439511a2ba8b447079f2308384a4228c92
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
src/backend/access/common/tupdesc.c
src/backend/commands/tablecmds.c