Re: Suggested improvement : Adjust SEQUENCES to accept an INCREMENT of functionname(parameters) instead of an integer
От | Shaun Thomas |
---|---|
Тема | Re: Suggested improvement : Adjust SEQUENCES to accept an INCREMENT of functionname(parameters) instead of an integer |
Дата | |
Msg-id | Pine.LNX.4.33L2.0106280819430.27944-100000@hamster.lee.net обсуждение исходный текст |
Ответ на | Suggested improvement : Adjust SEQUENCES to accept an INCREMENT of functionname(parameters) instead of an integer (Justin Clift <aa2@bigpond.net.au>) |
Ответы |
Re: Suggested improvement : Adjust SEQUENCES to accept an
INCREMENT of functionname(parameters) instead of an integer
|
Список | pgsql-general |
On Fri, 22 Jun 2001, Justin Clift wrote: > i.e. CREATE SEQUENCE newseq INCREMENT trunc(random() * 10); Didn't you ask this like 2 weeks ago? I said it once, I'll say it again. Stop being lazy, and write a trigger. The Postgres developers are *not* going to alter the core functionality of their database to include something that has always been available. http://www.postgresql.org/idocs/index.php?triggers.html Read it, use it, love it. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. Thomas INN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830 | | Email: sthomas@townnews.com AIM : trifthen | | Web : hamster.lee.net | | | | "Most of our lives are about proving something, either to | | ourselves or to someone else." | | -- Anonymous | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
В списке pgsql-general по дате отправления: