mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 21:12:55 +00:00
## Problem ## Summary of changes See #5500 ## Checklist before requesting a review - [ ] I have performed a self-review of my code. - [ ] If it is a core feature, I have added thorough tests. - [ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard? - [ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section. ## Checklist before merging - [ ] Do not forget to reformat commit message to not include the above checklist --------- Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
11 lines
350 B
SQL
11 lines
350 B
SQL
\echo Use "ALTER EXTENSION neon UPDATE TO '1.1'" to load this file. \quit
|
|
|
|
CREATE FUNCTION neon_get_lfc_stats()
|
|
RETURNS SETOF RECORD
|
|
AS 'MODULE_PATHNAME', 'neon_get_lfc_stats'
|
|
LANGUAGE C PARALLEL SAFE;
|
|
|
|
-- Create a view for convenient access.
|
|
CREATE VIEW neon_lfc_stats AS
|
|
SELECT P.* FROM neon_get_lfc_stats() AS P (lfc_key text, lfc_value bigint);
|