Skip to content

Commit 09fc662

Browse files
committed
Do as pg_stat_statements does with different extension versions
1 parent f6a2203 commit 09fc662

File tree

2 files changed

+205
-82
lines changed

2 files changed

+205
-82
lines changed

pg_wait_sampling--1.1--1.2.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ CREATE FUNCTION pg_wait_sampling_get_current (
4242
OUT appname text
4343
)
4444
RETURNS SETOF record
45-
AS 'MODULE_PATHNAME'
45+
AS 'MODULE_PATHNAME', 'pg_wait_sampling_get_current_1_2'
4646
LANGUAGE C VOLATILE CALLED ON NULL INPUT;
4747

4848
CREATE VIEW pg_wait_sampling_current AS
@@ -68,7 +68,7 @@ CREATE FUNCTION pg_wait_sampling_get_history (
6868
OUT ts timestamptz
6969
)
7070
RETURNS SETOF record
71-
AS 'MODULE_PATHNAME'
71+
AS 'MODULE_PATHNAME', 'pg_wait_sampling_get_history_1_2'
7272
LANGUAGE C VOLATILE STRICT;
7373

7474
CREATE VIEW pg_wait_sampling_history AS
@@ -94,7 +94,7 @@ CREATE FUNCTION pg_wait_sampling_get_profile (
9494
OUT count int8
9595
)
9696
RETURNS SETOF record
97-
AS 'MODULE_PATHNAME'
97+
AS 'MODULE_PATHNAME', 'pg_wait_sampling_get_profile_1_2'
9898
LANGUAGE C VOLATILE STRICT;
9999

100100
CREATE VIEW pg_wait_sampling_profile AS

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy