Re: [phplib] DB_Sql::nextid() questions From: Kristian Köhntopp (kk <email protected>)
Date: 03/15/01

Jason Lee wrote:
> I can certainly do that (which I probably will), but I'm curious as
> to why pg_sql.inc was written to support that table.

Native sequences are often subject to the same naming
constraints as tables. db_sequence has no such constraints.

For example, using two different db_sequence-Tables,
you can have different counters in different applications
using the same name for the counter. In many databases,
native sequence names and native table names are
unique database-wide, though.

Kristian

-- 
Kristian Köhntopp, NetUSE AG Siemenswall, D-24107 Kiel
Tel: +49 431 386 436 00, Fax: +49 431 386 435 99

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>