Index: openacs-4/packages/acs-subsite/tcl/attribute-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/attribute-procs-postgresql.xql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-subsite/tcl/attribute-procs-postgresql.xql 7 Aug 2017 23:47:58 -0000 1.5 +++ openacs-4/packages/acs-subsite/tcl/attribute-procs-postgresql.xql 22 Nov 2017 14:50:28 -0000 1.6 @@ -3,7 +3,7 @@ postgresql7.1 - + select coalesce(a.column_name, a.attribute_name) as name, @@ -60,30 +60,10 @@ - - -alter table $table_name drop column $attribute_name - - - - - -alter table $table_name add $attribute_name $sql_type - - - - -select acs_attribute__drop_attribute(:object_type, :attribute_name) - + + select acs_attribute__drop_attribute(:object_type, :attribute_name) + - - - - -alter table $table_name rename column $column_name to __DELETED__$column_name - - -