> Huh, I don't know where I got the idea you were (or someone else was?)

Bruce Momjian <bruce@momjian.us>

Commit: cabad378fcda93902b64993df547bc173228fcab
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-10-19T02:09:45Z
Releases: 7.3.1
> Huh, I don't know where I got the idea you were (or someone else was?)
> in the position that attislocal should be reset.  I'll clean everything
> up and submit the patch I had originally made.

All right, this is it.  This patch merely checks if child tables have
the column.  If atttypid and atttypmod are the same, the attributes'
attinhcount is incremented; else the operation is aborted.  If child
tables don't have the column, recursively add it.

attislocal is not touched in any case.

Alvaro Herrera

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +38 −7