postgresql/src/backend/commands
Tom Lane ca5646fc82 Fix UNLISTEN to fall out quickly if the current backend has never executed
any LISTEN command.  This is more important than it used to be because
DISCARD ALL invokes UNLISTEN.  Connection-pooled applications making heavy
use of DISCARD ALL were seeing significant contention for pg_listener,
as reported by Matteo Beccati.  It seems unlikely that clients using LISTEN
would use pooled connections, so this simple tweak seems sufficient,
especially since the pg_listener implementation is slated to go away soon
anyway.

Back-patch to 8.3, where DISCARD ALL was introduced.
2009-02-13 17:12:04 +00:00
..
Makefile SQL/MED catalog manipulation facilities 2008-12-19 16:25:19 +00:00
aggregatecmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
alter.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
analyze.c Support column-level privileges, as required by SQL standard. 2009-01-22 20:16:10 +00:00
async.c Fix UNLISTEN to fall out quickly if the current backend has never executed 2009-02-13 17:12:04 +00:00
cluster.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00
comment.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
conversioncmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
copy.c Clean up some loose ends from the column privileges patch: add 2009-02-06 21:15:12 +00:00
dbcommands.c Check that connection limit is within valid range. IOW, not < -1. 2009-01-30 17:24:47 +00:00
define.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00
discard.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
explain.c Include a pointer to the query's source text in QueryDesc structs. This is 2009-01-02 20:42:00 +00:00
foreigncmds.c Revise the permission checking on user mapping DDL commands. 2009-01-20 09:10:20 +00:00
functioncmds.c Add some comments about why function parameter default expressions are 2009-01-06 02:01:27 +00:00
indexcmds.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00
lockcmds.c Add ONLY support to LOCK and TRUNCATE. By default, these commands are now 2009-01-12 08:54:27 +00:00
opclasscmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
operatorcmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
portalcmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
prepare.c Include a pointer to the query's source text in QueryDesc structs. This is 2009-01-02 20:42:00 +00:00
proclang.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
schemacmds.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
sequence.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00
tablecmds.c Change ALTER TABLE SET WITHOUT OIDS to rewrite the whole table to physically 2009-02-11 21:11:16 +00:00
tablespace.c Support column-level privileges, as required by SQL standard. 2009-01-22 20:16:10 +00:00
trigger.c Support column-level privileges, as required by SQL standard. 2009-01-22 20:16:10 +00:00
tsearchcmds.c Support column-level privileges, as required by SQL standard. 2009-01-22 20:16:10 +00:00
typecmds.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00
user.c Check that connection limit is within valid range. IOW, not < -1. 2009-01-30 17:24:47 +00:00
vacuum.c Add vacuum_freeze_table_age GUC option, to control when VACUUM should 2009-01-16 13:27:24 +00:00
vacuumlazy.c Only skip pages marked as clean in the visibility map, if the last 32 2009-01-22 19:25:00 +00:00
variable.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
view.c Allow reloption names to have qualifiers, initially supporting a TOAST 2009-02-02 19:31:40 +00:00