mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Clarify restrict_nonsystem_relation_kind description.
This change improves the description of the restrict_nonsystem_relation_kind parameter in guc_table.c and the documentation for better clarity. Backpatch to 12, where this GUC parameter was introduced. Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/6a96f1af-22b4-4a80-8161-1f26606b9ee2%40eisentraut.org Backpatch-through: 12
This commit is contained in:
		@@ -8976,9 +8976,9 @@ SET XML OPTION { DOCUMENT | CONTENT };
 | 
				
			|||||||
     </term>
 | 
					     </term>
 | 
				
			||||||
     <listitem>
 | 
					     <listitem>
 | 
				
			||||||
      <para>
 | 
					      <para>
 | 
				
			||||||
       This variable specifies relation kind to which access is restricted.
 | 
					       Set relation kinds for which access to non-system relations is prohibited.
 | 
				
			||||||
       It contains a comma-separated list of relation kind.  Currently, the
 | 
					       The value takes the form of a comma-separated list of relation kinds.
 | 
				
			||||||
       supported relation kinds are <literal>view</literal> and
 | 
					       Currently, the supported relation kinds are <literal>view</literal> and
 | 
				
			||||||
       <literal>foreign-table</literal>.
 | 
					       <literal>foreign-table</literal>.
 | 
				
			||||||
      </para>
 | 
					      </para>
 | 
				
			||||||
     </listitem>
 | 
					     </listitem>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4604,7 +4604,7 @@ static struct config_string ConfigureNamesString[] =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		{"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
 | 
							{"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
 | 
				
			||||||
			gettext_noop("Sets relation kinds of non-system relation to restrict use"),
 | 
								gettext_noop("Prohibits access to non-system relations of specified kinds."),
 | 
				
			||||||
			NULL,
 | 
								NULL,
 | 
				
			||||||
			GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
 | 
								GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user