diff --git a/Database/Persist/Postgresql.hs b/Database/Persist/Postgresql.hs
--- a/Database/Persist/Postgresql.hs
+++ b/Database/Persist/Postgresql.hs
@@ -127,15 +127,16 @@
         , withStmt = withStmt' conn query
         }
 
-insertSql' :: DBName -> [DBName] -> Either Text (Text, Text)
-insertSql' t cols = Left $ pack $ concat
+insertSql' :: DBName -> [DBName] -> DBName -> InsertSqlResult
+insertSql' t cols id' = ISRSingle $ pack $ concat
     [ "INSERT INTO "
     , T.unpack $ escape t
     , "("
     , intercalate "," $ map (T.unpack . escape) cols
     , ") VALUES("
     , intercalate "," (map (const "?") cols)
-    , ") RETURNING id"
+    , ") RETURNING "
+    , T.unpack $ escape id'
     ]
 
 execute' :: PG.Connection -> PG.Query -> [PersistValue] -> IO ()
diff --git a/persistent-postgresql.cabal b/persistent-postgresql.cabal
--- a/persistent-postgresql.cabal
+++ b/persistent-postgresql.cabal
@@ -1,5 +1,5 @@
 name:            persistent-postgresql
-version:         1.0.0
+version:         1.0.1
 license:         MIT
 license-file:    LICENSE
 author:          Felipe Lessa, Michael Snoyman <michael@snoyman.com>
@@ -17,7 +17,7 @@
                    , transformers          >= 0.2.1    && < 0.4
                    , postgresql-simple     >= 0.2      && < 0.3
                    , postgresql-libpq      >= 0.6.1    && < 0.9
-                   , persistent            >= 1.0      && < 1.1
+                   , persistent            >= 1.0.2    && < 1.1
                    , containers            >= 0.2
                    , bytestring            >= 0.9
                    , text                  >= 0.7      && < 0.12
