I'm in TODO mood today ...

Bruce Momjian <bruce@momjian.us>

Commit: cb00b7faa5849d8460198f7ced1cfdd0a92cfe53
Author: Bruce Momjian <bruce@momjian.us>
Date: 1999-12-12T05:57:36Z
Releases: 7.1.1
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

Files

PathChange+/−
doc/TODO modified +1 −1
src/backend/commands/user.c modified +9 −4
src/bin/initdb/initdb.sh modified +5 −1
src/include/catalog/pg_proc.h modified +3 −1