From: | Shaun Thomas <sthomas(at)townnews(dot)com> |
---|---|
To: | Justin Clift <aa2(at)bigpond(dot)net(dot)au> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Suggested improvement : Adjust SEQUENCES to accept an INCREMENT of functionname(parameters) instead of an integer |
Date: | 2001-06-28 12:27:54 |
Message-ID: | Pine.LNX.4.33L2.0106280819430.27944-100000@hamster.lee.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)townnews(dot)com AIM : trifthen |
| Web : hamster.lee.net |
| |
| "Most of our lives are about proving something, either to |
| ourselves or to someone else." |
| -- Anonymous |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
From | Date | Subject | |
---|---|---|---|
Next Message | Aldo Vadillo Batista | 2001-06-28 12:53:24 | About pg_dump |
Previous Message | wsheldah | 2001-06-28 12:25:06 | Re: Re: Red Hat to support PostgreSQL |