From: | Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | INSERT in 7.0 |
Date: | 1999-12-16 13:06:56 |
Message-ID: | Pine.LNX.3.96.991216135929.10164B-100000@ara.zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
What is changed on INSERT/max() in v7.0? (CVS - today).
See:
--- new version:
template1=> select * from pg_group;
groname | grosysid | grolist
---------+----------+---------
_dummy_ | 0 | {}
(1 row)
template1=> INSERT INTO pg_group VALUES ('abg_root', max(grosysid)+1, '{}');
ERROR: attribute 'grosysid' not found
--- old version (6.5):
template1=> select * from pg_group;
groname|grosysid|grolist
-------+--------+-------
_dummy_| 0|{}
(1 row)
template1=> INSERT INTO pg_group VALUES ('abg_root', max(grosysid)+1, '{}');
INSERT 10173952 1
Karel
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Holloway | 1999-12-16 13:28:43 | Re: [HACKERS] Postmaster options, process spawning, logging, etc. |
Previous Message | Karel Zak - Zakkr | 1999-12-16 12:45:01 | Re: [HACKERS] pg_dump --help |