Will Drewry reported a problem in a regular expression handling code used by
PosgreSQL. This problem can be used to trigger temporary DoS attack by causing
PosgreSQL server to consume large amount of system memory and CPU resources.
On systems with memory overcommit enabled (default setting), database server can
be terminated by kernel OOM killer (see 'Managing Kernel Resources' section in
PosgreSQL documentation about more information on memory overcommit
configuration on Linux).
Regular expression code used by PosgreSQL was adopted from TCL.