On Wed, Jan 31, 2007 at 01:04:15PM +0200, Iwan Vosloo wrote:
> I was wondering how object IDs are generated in SQLObject. I see that
SQLObject relies on the backend for this.
> the sequences (when using postgresql) are generated with is_cycled ==
> False.
These are, probably, the default values. There is no such things in
SQLObject code.
> I realise the max value used is big enough to make this question
> entirely theoretical, but... I was wondering anyway whether one can
> control how the sequences are created. Say, by setting max_value
> smaller and is_cycled=True for example.
You can do this be creating the tables and the sequences outside of
SQLObject using Postgres tools and commands.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss