DB::createSequence(string $seq_name [ , integer start])
| From: | Emmanuel Chantreau | Date: | Wed, 27 Nov 2002 06:36:11 +0000 |
| Subject: | DB::createSequence(string $seq_name [ , integer start]) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11149@lists.php.net to get a copy of this message | ||
Hello
Actually DB::createSequence can't set the starting value, but when we
restore the database (for example from an xml file) using DB we can't
restore the sequence, so we can't restore the database.
I had a look in the sources for the differents backends and it seems
possible to add the optional "start" argument for all backends.
I'm not registered as a developper, but I can provide a patch
for this modification or I can subscribe as a developper. But I can't
test for all backends of course (just postgres and mysql).
So my questions are:
-are you interested ?
-what do I do ?
--
Emmanuel Chantréau
100% des gens sont dans une minorité de moins de 5% des gens.