Re: DB::createSequence(string $seq_name [ , integer start])
| From: | Arnaud Limbourg | Date: | Wed, 27 Nov 2002 07:03:53 +0000 |
| Subject: | Re: DB::createSequence(string $seq_name [ , integer start]) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11150@lists.php.net to get a copy of this message | ||
COuld you be a bit clearer, please ?
Do you mean mean you want to start a sequence from a certain value ?
Arnaud.
>
> 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.
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>