mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
This makes sure we don't confuse user-controlled functions with PG's builtin functions. ## Problem See https://github.com/neondatabase/cloud/issues/31628
8 lines
133 B
SQL
8 lines
133 B
SQL
SELECT
|
|
slot_name,
|
|
CASE
|
|
WHEN wal_status = 'lost' THEN 1
|
|
ELSE 0
|
|
END AS wal_is_lost
|
|
FROM pg_catalog.pg_replication_slots;
|