mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Remove pg_constraint.conincluding
This column was added in commit 8224de4f42 ("Indexes with INCLUDE
columns and their support in B-tree") to ease writing the ruleutils.c
supporting code for that feature, but it turns out to be unnecessary --
we can do the same thing with just one more syscache lookup.
Even the documentation for the new column being removed in this commit
is awkward.
Discussion: https://postgr.es/m/20180902165018.33otxftp3olgtu4t@alvherre.pgsql
			
			
This commit is contained in:
		| @@ -2373,14 +2373,6 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l | ||||
|        triggers), list of the constrained columns</entry> | ||||
|      </row> | ||||
|  | ||||
|      <row> | ||||
|       <entry><structfield>conincluding</structfield></entry> | ||||
|       <entry><type>int2[]</type></entry> | ||||
|       <entry><literal><link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.attnum</literal></entry> | ||||
|       <entry>List of the non-constrained columns which are included into | ||||
|         the same index as the constrained columns</entry> | ||||
|      </row> | ||||
|  | ||||
|      <row> | ||||
|       <entry><structfield>confkey</structfield></entry> | ||||
|       <entry><type>int2[]</type></entry> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user