mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
aa4c702eac
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs. |
||
---|---|---|
.. | ||
Makefile | ||
noup.c | ||
noup.sql.in | ||
README.noup |
noupdate ~~~~~~~~ - trigger to prevent updates on single columns. Example: ~~~~~~~ CREATE TABLE TEST ( COL1 INT, COL2 INT, COL3 INT ); CREATE TRIGGER BT BEFORE UPDATE ON TEST FOR EACH ROW EXECUTE PROCEDURE noup ('COL1'); -- Now Try INSERT INTO TEST VALUES (10,20,30); UPDATE TEST SET COL1 = 5;