Updated PostgreSQL insertId() docs to actually make sense.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2013 20:28:11 +0000 (13:28 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2013 20:28:11 +0000 (13:28 -0700)
Change-Id: Ia6c7240094fc431924b650a327fa19e93ed18261

includes/db/DatabasePostgres.php

index c6ac11a..55e0f88 100644 (file)
@@ -556,8 +556,10 @@ class DatabasePostgres extends DatabaseBase {
        }
 
        /**
-        * This must be called after nextSequenceVal
-        * @return null
+        * Return the result of the last call to nextSequenceValue();
+        * This must be called after nextSequenceValue().
+        *
+        * @return integer|null
         */
        function insertId() {
                return $this->mInsertId;