Re[2]: [PHP-PEAR] sequences implementation for DB/pgsql
| From: | Alexey Borzov | Date: | Wed, 13 Dec 2000 14:53:42 +0000 |
| Subject: | Re[2]: [PHP-PEAR] sequences implementation for DB/pgsql | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-680@lists.php.net to get a copy of this message | ||
Greetings, Peter!
At 13.12.2000, 17:46, you wrote:
PB> Should we be setting a default standard for sequences? If we
PB> specify an append of _seq for all sequences, then don't we break
PB> compatibility with current databases, and make life very hard for those
PB> who use other languages to connect to the same database?
Well, '_seq' is probably a standard for Postgres: if you define a
column with a built-in type 'serial' a sequence
'tablename_colname_seq' gets implicitly declared.
--
Yours, Alexey V. Borzov, Webmaster of RDW