From: Bruce Momjian Date: Thu, 2 Apr 2020 21:42:09 +0000 (-0400) Subject: doc: remove unnecessary INNER keyword X-Git-Tag: aio-before-rebase-2020-06-24~609 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8da1538b39f2803fdc75de8505dd096e29e65a52;p=users%2Fandresfreund%2Fpostgres.git doc: remove unnecessary INNER keyword A join that was added in commit 9b2009c4cf that did not use the INNER keyword but the existing query used it. It was cleaner to remove the existing INNER keyword. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/a1ffbfda-59d2-5732-e5fb-3df8582b6434@2ndquadrant.com Backpatch-through: 9.5 --- diff --git a/doc/src/sgml/pgbuffercache.sgml b/doc/src/sgml/pgbuffercache.sgml index 2479181c5f..fd2446d654 100644 --- a/doc/src/sgml/pgbuffercache.sgml +++ b/doc/src/sgml/pgbuffercache.sgml @@ -149,7 +149,7 @@ regression=# SELECT n.nspname, c.relname, count(*) AS buffers - FROM pg_buffercache b INNER JOIN pg_class c + FROM pg_buffercache b JOIN pg_class c ON b.relfilenode = pg_relation_filenode(c.oid) AND b.reldatabase IN (0, (SELECT oid FROM pg_database WHERE datname = current_database()))