]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in system_views.sql's definition of pg_stat_activity
authorMichael Paquier <michael@paquier.xyz>
Tue, 1 Jul 2025 00:41:42 +0000 (09:41 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 1 Jul 2025 00:41:42 +0000 (09:41 +0900)
backend_xmin used a lower-character 's' instead of the upper-character
'S' like the other attributes.  This is harmless, but let's be
consistent.

Issue introduced in dd1a3bccca24.

Author: Daisuke Higuchi <higuchi.daisuke11@gmail.com>
Discussion: https://postgr.es/m/CAEVT6c8M39cqWje-df39wWr0KWcDgGKd5fMvQo84zvCXKoEL9Q@mail.gmail.com

src/backend/catalog/system_views.sql

index 08f780a2e638277971ef568cb10277ec35585ed2..e5dbbe61b811ab18dfea0102e66ad64c13936b61 100644 (file)
@@ -895,7 +895,7 @@ CREATE VIEW pg_stat_activity AS
             S.wait_event,
             S.state,
             S.backend_xid,
-            s.backend_xmin,
+            S.backend_xmin,
             S.query_id,
             S.query,
             S.backend_type