serial-not null-primary index. Here is a partial dump:
CREATE TABLE builds (
id serial NOT NULL,
dev_label character varying(25),
build_label character varying(25),
build_category character varying(15),
requester character varying(25),
build_number character varying(5),
code_line character varying(25),
lines_of_code character varying(8),
build_status character varying(10),
scm_builder character varying(15)
The field in question is the first field.
I have written front ends in Tcl/Tk (using pgtcl) to, among other
things, insert records. Originally, I added logic to get the last value
on this field, increment it, and then insert the new value. However, I
noticed that this happened whether or not I added the logic, so I
stopped doing that.
Now after several iterations, I find that this is no longer happening.
Also, even though the dumps still list these fields as serial, pgaccess
now says they're int4.
I have done several schema saves, db drops, and schema restores. Did I
I figured these fields were getting updated as automatic triggers. I
need them to stay consistent for internal integrity. How do I best do
Linux Guy, SCM Specialist
No matter how good you feel, if four friends tell you you're drunk,
you'd better lie down.
- Theodore Sorensen