Skip to content

Commit da2dc09

Browse files
committed
Drop PostgreSQL <=13 support
1 parent 086ecda commit da2dc09

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pg_show_plans.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/* Constants and Macros */
3434
PG_MODULE_MAGIC;
3535

36-
#if PG_VERSION_NUM < 120000
36+
#if PG_VERSION_NUM < 140000
3737
#error "Unsupported PostgreSQL Version"
3838
#endif
3939

@@ -405,11 +405,7 @@ static bool
405405
is_allowed_role(void)
406406
{
407407
bool is_allowed_role = false;
408-
#if PG_VERSION_NUM >= 140000
409408
is_allowed_role = is_member_of_role(GetUserId(), ROLE_PG_READ_ALL_STATS);
410-
#else
411-
is_allowed_role = is_member_of_role(GetUserId(), DEFAULT_ROLE_READ_ALL_STATS);
412-
#endif
413409
return is_allowed_role;
414410

415411
}

0 commit comments

Comments
 (0)