From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | stuart(at)comodo(dot)net |
Cc: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | Re: [INTERFACES] sequences |
Date: | 1999-11-04 15:53:37 |
Message-ID: | 3821AC01.ABAE5D89@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
> The size of a sequence is 32bit , correct? (im pretty damn sure it is). Is
> there any way I can tune this to 64bit, There is an int8 option in postgres as
> I use that already.Threre is a skanky way of creating an incremenetd counter
> whilst using an int8 but I would rather up the sequence in the code. Anyone got
> any ideas where to look?
Look in src/backend/parser/gram.y and analyze.c for where sequences
(the serial type) is handled. The code actually just embeds the
"skanky" technique to hide it from the user. A very first cut might be
to make this configurable by defining, say, SERIAL_IS_INT64. Patches
accepted ;)
- Thomas
--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 1999-11-04 15:59:52 | Re: [INTERFACES] ODBC connect from Linux to Postgresql db server |
Previous Message | Teulings, Tim | 1999-11-04 07:56:49 | AW: AW: [INTERFACES] Postgres (NT), ODBC and DBTools |