Thread: SVN Commit by dpage: r6627 - in trunk/pgadmin3/pgadmin: dlg include/dlg include/schema schema
SVN Commit by dpage: r6627 - in trunk/pgadmin3/pgadmin: dlg include/dlg include/schema schema
From
svn@pgadmin.org
Date:
Author: dpage Date: 2007-09-07 14:49:51 +0100 (Fri, 07 Sep 2007) New Revision: 6627 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6627&view=rev Log: Track tablespaces by their OID, not their name. This prevents a nasty potential gotcha where renaming a tablespace and thenviewing the property page for an object that hasn't subsequently been refreshed can default the tablespace combobox tothe wrong value. This gets nasty if not noticed when the user changes some other property - the object will be moved tothe tablespace selected in error!! Per report from Erwin. Modified: trunk/pgadmin3/pgadmin/dlg/dlgDatabase.cpp trunk/pgadmin3/pgadmin/dlg/dlgIndex.cpp trunk/pgadmin3/pgadmin/dlg/dlgIndexConstraint.cpp trunk/pgadmin3/pgadmin/dlg/dlgProperty.cpp trunk/pgadmin3/pgadmin/dlg/dlgTable.cpp trunk/pgadmin3/pgadmin/include/dlg/dlgProperty.h trunk/pgadmin3/pgadmin/include/schema/pgDatabase.h trunk/pgadmin3/pgadmin/include/schema/pgIndex.h trunk/pgadmin3/pgadmin/include/schema/pgTable.h trunk/pgadmin3/pgadmin/schema/pgDatabase.cpp trunk/pgadmin3/pgadmin/schema/pgIndex.cpp trunk/pgadmin3/pgadmin/schema/pgTable.cpp