Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73ca21c

Browse files
committed
Move DATA entry to correct position
In commit7b4bfc8 the DATA and DESCR entries for the newrow_security_active() function were inadvertantly put afterthe PROVOLATILE defines, rather than before as they shouldhave been placed. Move them up where they belong.Backpatch to 9.5 where the new entries were introduced.
1 parent1bad289 commit73ca21c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/include/catalog/pg_proc.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5325,6 +5325,12 @@ DESCR("get an individual replication origin's replication progress");
53255325
DATA(insert OID = 6014 ( pg_show_replication_origin_status PGNSP PGUID 12 1 100 0 0 f f f f f t v 0 0 2249 "" "{26,25,3220,3220}" "{o,o,o,o}" "{local_id, external_id, remote_lsn, local_lsn}" _null_ _null_ pg_show_replication_origin_status _null_ _null_ _null_ ));
53265326
DESCR("get progress for all replication origins");
53275327

5328+
/* rls */
5329+
DATA(insert OID = 3298 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ _null_row_security_active _null_ _null_ _null_ ));
5330+
DESCR("row security for current context active on table by table oid");
5331+
DATA(insert OID = 3299 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 16 "25" _null_ _null_ _null_ _null_ _null_row_security_active_name _null_ _null_ _null_ ));
5332+
DESCR("row security for current context active on table by table name");
5333+
53285334
/*
53295335
* Symbolic values for provolatile column: these indicate whether the result
53305336
* of a function is dependent *only* on the values of its explicit arguments,
@@ -5337,12 +5343,6 @@ DESCR("get progress for all replication origins");
53375343
#define PROVOLATILE_STABLE's'/* does not change within a scan */
53385344
#define PROVOLATILE_VOLATILE'v'/* can change even within a scan */
53395345

5340-
/* rls */
5341-
DATA(insert OID = 3298 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ _null_row_security_active _null_ _null_ _null_ ));
5342-
DESCR("row security for current context active on table by table oid");
5343-
DATA(insert OID = 3299 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s 1 0 16 "25" _null_ _null_ _null_ _null_ _null_row_security_active_name _null_ _null_ _null_ ));
5344-
DESCR("row security for current context active on table by table name");
5345-
53465346
/*
53475347
* Symbolic values for proargmodes column. Note that these must agree with
53485348
* the FunctionParameterMode enum in parsenodes.h; we declare them here to

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp