mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	doc: Update info on information schema usage tables
Commitf40c6969d0added the information schema usage tables but added documentation that they did not fully work yet. Commite717a9a18bthen added SQL-standard function bodies, which made the information schema views fully functional, but it neglected to update the documentation. This is now done here. Reported-by: Erki Eessaar <erki.eessaar@taltech.ee> Reviewed-by: Erki Eessaar <erki.eessaar@taltech.ee> Discussion: https://www.postgresql.org/message-id/flat/AM9PR01MB8268EC7B696F9FE346CA5B93FEB8A%40AM9PR01MB8268.eurprd01.prod.exchangelabs.com
This commit is contained in:
		@@ -4846,9 +4846,11 @@ ORDER BY c.ordinal_position;
 | 
				
			|||||||
  <title><literal>routine_column_usage</literal></title>
 | 
					  <title><literal>routine_column_usage</literal></title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <para>
 | 
					  <para>
 | 
				
			||||||
   The view <literal>routine_column_usage</literal> is meant to identify all
 | 
					   The view <literal>routine_column_usage</literal> identifies all columns
 | 
				
			||||||
   columns that are used by a function or procedure.  This information is
 | 
					   that are used by a function or procedure, either in the SQL body or in
 | 
				
			||||||
   currently not tracked by <productname>PostgreSQL</productname>.
 | 
					   parameter default expressions.  (This only works for unquoted SQL bodies,
 | 
				
			||||||
 | 
					   not quoted bodies or functions in other languages.)  A column is only
 | 
				
			||||||
 | 
					   included if its table is owned by a currently enabled role.
 | 
				
			||||||
  </para>
 | 
					  </para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <table>
 | 
					  <table>
 | 
				
			||||||
@@ -5085,12 +5087,12 @@ ORDER BY c.ordinal_position;
 | 
				
			|||||||
  <title><literal>routine_routine_usage</literal></title>
 | 
					  <title><literal>routine_routine_usage</literal></title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <para>
 | 
					  <para>
 | 
				
			||||||
   The view <literal>routine_routine_usage</literal> is meant to identify all
 | 
					   The view <literal>routine_routine_usage</literal> identifies all functions
 | 
				
			||||||
   functions or procedures that are used by another (or the same) function or
 | 
					   or procedures that are used by another (or the same) function or procedure,
 | 
				
			||||||
   procedure, either in the body or in parameter default expressions.
 | 
					   either in the SQL body or in parameter default expressions.  (This only
 | 
				
			||||||
   Currently, only functions used in parameter default expressions are
 | 
					   works for unquoted SQL bodies, not quoted bodies or functions in other
 | 
				
			||||||
   tracked.  An entry is included here only if the used function is owned by a
 | 
					   languages.)  An entry is included here only if the used function is owned
 | 
				
			||||||
   currently enabled role.  (There is no such restriction on the using
 | 
					   by a currently enabled role.  (There is no such restriction on the using
 | 
				
			||||||
   function.)
 | 
					   function.)
 | 
				
			||||||
  </para>
 | 
					  </para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -5184,11 +5186,11 @@ ORDER BY c.ordinal_position;
 | 
				
			|||||||
  <title><literal>routine_sequence_usage</literal></title>
 | 
					  <title><literal>routine_sequence_usage</literal></title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <para>
 | 
					  <para>
 | 
				
			||||||
   The view <literal>routine_sequence_usage</literal> is meant to identify all
 | 
					   The view <literal>routine_sequence_usage</literal> identifies all sequences
 | 
				
			||||||
   sequences that are used by a function or procedure, either in the body or
 | 
					   that are used by a function or procedure, either in the SQL body or in
 | 
				
			||||||
   in parameter default expressions.  Currently, only sequences used in
 | 
					   parameter default expressions.  (This only works for unquoted SQL bodies,
 | 
				
			||||||
   parameter default expressions are tracked.  A sequence is only included if
 | 
					   not quoted bodies or functions in other languages.)  A sequence is only
 | 
				
			||||||
   that sequence is owned by a currently enabled role.
 | 
					   included if that sequence is owned by a currently enabled role.
 | 
				
			||||||
  </para>
 | 
					  </para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <table>
 | 
					  <table>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user