<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/foreign_keys/postgresql_adapter.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@ Foreign Keys Plugin
 This plugin adds basic support for foreign keys, by providing some additional
 schema statements as well as integration into the standard schema dumper.
 
-Currently, the only connection adapter supported is mysql.
+Currently, mysql and postgresql connection adapters are supported.
 
 Installation
 ------------
@@ -69,3 +69,5 @@ Author
 Dan Walters
 
 &lt;http://github.com/dwalters/foreign_keys&gt;
+
+Max Lapshin -- PostgreSQL support</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
-require 'foreign_keys/mysql_adapter'
+require 'foreign_keys/mysql_adapter' if defined?(ActiveRecord::ConnectionAdapters::MysqlAdapter)
+require 'foreign_keys/postgresql_adapter' if defined?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)
 require 'foreign_keys/schema_dumper'
 require 'foreign_keys/schema_statements'</diff>
      <filename>init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8cae70a38c0fb7d55e0eb69886e28fbd23fddd7d</id>
    </parent>
  </parents>
  <author>
    <name>Max Lapshin</name>
    <email>max@maxidoors.ru</email>
  </author>
  <url>http://github.com/dwalters/foreign_keys/commit/b8cad3ff2a0db87243e1413cdb0d46cf851f297f</url>
  <id>b8cad3ff2a0db87243e1413cdb0d46cf851f297f</id>
  <committed-date>2009-03-11T01:40:14-07:00</committed-date>
  <authored-date>2009-03-11T01:40:14-07:00</authored-date>
  <message>Added postgresql support</message>
  <tree>239fb9fe4f6c6839e8705c11011d4ca0d2d8dbaa</tree>
  <committer>
    <name>Max Lapshin</name>
    <email>max@maxidoors.ru</email>
  </committer>
</commit>
