]> granicus.if.org Git - postgresql/commit
I'm in TODO mood today ...
authorBruce Momjian <bruce@momjian.us>
Sun, 12 Dec 1999 05:57:36 +0000 (05:57 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 12 Dec 1999 05:57:36 +0000 (05:57 +0000)
commitcb00b7faa5849d8460198f7ced1cfdd0a92cfe53
treed389b1907364124e8c6703af287ed0e593d06446
parent11023eb1f5bd4fe6ddff652957848437b5d16f14
I'm in TODO mood today ...

* Document/trigger/rule so changes to pg_shadow recreate pg_pwd

I did it with a trigger and it seems to work like a charm. The function
that already updates the file for create and alter user has been made a
built-in "SQL" function and a trigger is created at initdb time.

Comments around the pg_pwd updating function seem to be worried about
this
routine being called concurrently, but I really don't see a reason to
worry about this. Verify for yourself. I guess we never had a system
trigger before, so treat this with care, and feel free to adjust the
nomenclature as well.

--
Peter Eisentraut                  Sernanders väg 10:115
doc/TODO
src/backend/commands/user.c
src/bin/initdb/initdb.sh
src/include/catalog/pg_proc.h