Now that PG 9 has been officially released, we still want the PG 8.3+ stuff
to work with it (currently, this only includes the UUID type). 

Thanks 
Andrew 

### Eclipse Workspace Patch 1.0 
#P liquibase-core 
Index:
src/main/java/liquibase/database/typeconversion/core/Postgres83TypeConverter.java
 
=================================================================== 
---
src/main/java/liquibase/database/typeconversion/core/Postgres83TypeConverter.java
(revision 1735) 
+++
src/main/java/liquibase/database/typeconversion/core/Postgres83TypeConverter.java
(working copy) 
@@ -17,7 +17,10 @@ 
             return false; 
         } 
         try { 
-            return super.supports(database) &&
database.getDatabaseMajorVersion() >= 8 &&
database.getDatabaseMinorVersion() >= 3; 
+            return super.supports(database) 
+            && ((database.getDatabaseMajorVersion() > 8) || (database 
+                    .getDatabaseMajorVersion() == 8 && database 
+                    .getDatabaseMinorVersion() >= 3)); 
         } catch (DatabaseException e) { 
             return false; 
         }
-- 
View this message in context: 
http://old.nabble.com/Patch-to-map-UUID-to-real-UUID-type-in-PG-9-tp29837804p29837804.html
Sent from the LiquiBase - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to