> "Sergey N. Yatskevich" <syatskevich(at)2100(dot)gosniias(dot)ru> writes:
>> RenameLanguage procedure in src/backend/commands/proclang.c open
>> and update pg_catalog.pg_shadow table instead pg_catalog.pg_language.
> Wow. Apparently this has been broken since it was written, and
> nobody ever tested it. Thanks!
BTW, is there a security issue here? In my testing all I got was
harmless "tuple concurrently updated" failures --- but it seems like
this bug ought to result in either a core dump or storing a bogus row
into pg_shadow. Neither of which sound appealing.
regards, tom lane