Author: dpage
Date: 2005-05-31 09:17:52 +0100 (Tue, 31 May 2005)
New Revision: 4265
Modified:
trunk/pgadmin3/CHANGELOG.txt
trunk/pgadmin3/src/schema/pgColumn.cpp
trunk/pgadmin3/src/schema/pgIndexConstraint.cpp
Log:
Add missing ; to RE SQL, per Ivan
Modified: trunk/pgadmin3/CHANGELOG.txt
===================================================================
--- trunk/pgadmin3/CHANGELOG.txt 2005-05-31 08:17:20 UTC (rev 4264)
+++ trunk/pgadmin3/CHANGELOG.txt 2005-05-31 08:17:52 UTC (rev 4265)
@@ -17,6 +17,7 @@
</ul>
<br>
<ul>
+ <li>2005-05-31 DP 1.2.3 Add missing ; to RE SQL, per Ivan
<li>2005-05-27 DP New WiX based installer for Win32
<li>2005-05-25 DP Cleanup doc location code for internal consistency
<li>2005-05-25 DP Reorganise doc index, cleanup inappropriate/old
docs and improve admin pack documentation
Modified: trunk/pgadmin3/src/schema/pgColumn.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgColumn.cpp 2005-05-31 08:17:20 UTC (rev
4264)
+++ trunk/pgadmin3/src/schema/pgColumn.cpp 2005-05-31 08:17:52 UTC (rev
4265)
@@ -85,7 +85,7 @@
{
sql = wxT("-- Column: ") + GetQuotedFullIdentifier() + wxT("\n\n")
+ wxT("-- ALTER TABLE ") + GetQuotedFullTable()
- + wxT(" DROP COLUMN ") + GetQuotedIdentifier()
+ + wxT(" DROP COLUMN ") + GetQuotedIdentifier() + wxT(";")
+ wxT("\n\nALTER TABLE ") + GetQuotedFullTable()
+ wxT(" ADD COLUMN ") + GetQuotedIdentifier() + wxT(" ") +
GetQuotedTypename()
Modified: trunk/pgadmin3/src/schema/pgIndexConstraint.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgIndexConstraint.cpp 2005-05-31 08:17:20 UTC
(rev 4264)
+++ trunk/pgadmin3/src/schema/pgIndexConstraint.cpp 2005-05-31 08:17:52 UTC
(rev 4265)
@@ -67,7 +67,7 @@
{
sql = wxT("-- Constraint: ") + GetQuotedFullIdentifier()
+ wxT("\n\n-- ALTER TABLE ") +
GetQuotedSchemaPrefix(GetIdxSchema()) + qtIdent(GetIdxTable())
- + wxT(" DROP CONSTRAINT ") + GetQuotedIdentifier()
+ + wxT(" DROP CONSTRAINT ") + GetQuotedIdentifier() + wxT(";")
+ wxT("\n\nALTER TABLE ") + GetQuotedSchemaPrefix(GetIdxSchema())
+ qtIdent(GetIdxTable())
+ wxT("\n ADD CONSTRAINT ")
+ GetCreate()
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])