Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 851636b

Browse files
committed
Move DATA entry to correct position
In commit 7b4bfc8 the DATA and DESCR entries for the new row_security_active() function were inadvertantly put after the PROVOLATILE defines, rather than before as they should have been placed. Move them up where they belong. Backpatch to 9.5 where the new entries were introduced.
1 parent 7975c5e commit 851636b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/include/catalog/pg_proc.h

+5-6
Original file line numberDiff line numberDiff line change
@@ -5202,6 +5202,11 @@ DESCR("get an individual replication origin's replication progress");
52025202
DATA(insert OID = 6014 ( pg_show_replication_origin_status PGNSP PGUID 12 1 100 0 0 f f f f f t v r 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_ ));
52035203
DESCR("get progress for all replication origins");
52045204

5205+
/* rls */
5206+
DATA(insert OID = 3298 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 16 "26" _null_ _null_ _null_ _null_ _null_ row_security_active _null_ _null_ _null_ ));
5207+
DESCR("row security for current context active on table by table oid");
5208+
DATA(insert OID = 3299 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 16 "25" _null_ _null_ _null_ _null_ _null_ row_security_active_name _null_ _null_ _null_ ));
5209+
DESCR("row security for current context active on table by table name");
52055210

52065211
/*
52075212
* Symbolic values for provolatile column: these indicate whether the result
@@ -5215,12 +5220,6 @@ DESCR("get progress for all replication origins");
52155220
#define PROVOLATILE_STABLE 's' /* does not change within a scan */
52165221
#define PROVOLATILE_VOLATILE 'v' /* can change even within a scan */
52175222

5218-
/* rls */
5219-
DATA(insert OID = 3298 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 16 "26" _null_ _null_ _null_ _null_ _null_ row_security_active _null_ _null_ _null_ ));
5220-
DESCR("row security for current context active on table by table oid");
5221-
DATA(insert OID = 3299 ( row_security_active PGNSP PGUID 12 1 0 0 0 f f f f t f s s 1 0 16 "25" _null_ _null_ _null_ _null_ _null_ row_security_active_name _null_ _null_ _null_ ));
5222-
DESCR("row security for current context active on table by table name");
5223-
52245223
/*
52255224
* Symbolic values for proparallel column: these indicate whether a function
52265225
* can be safely be run in a parallel backend, during parallelism but

0 commit comments

Comments
 (0)