mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Remove gen_node_support.pl's special treatment of EquivalenceClasses.
It seems better to deal with this by explicit annotations on the fields in question, instead of magic knowledge embedded in the script. While that creates a risk-of-omission from failing to annotate fields, the preceding commit should catch any such oversights. Discussion: https://postgr.es/m/263413.1669513145@sss.pgh.pa.us
This commit is contained in:
		@@ -86,6 +86,12 @@ typedef enum NodeTag
 | 
			
		||||
 *
 | 
			
		||||
 * - copy_as(VALUE): In copyObject(), replace the field's value with VALUE.
 | 
			
		||||
 *
 | 
			
		||||
 * - copy_as_scalar: In copyObject(), copy the field as a scalar value
 | 
			
		||||
 *   (e.g. a pointer) even if it is a node-type pointer.
 | 
			
		||||
 *
 | 
			
		||||
 * - equal_as_scalar: In equal(), compare the field as a scalar value
 | 
			
		||||
 *   even if it is a node-type pointer.
 | 
			
		||||
 *
 | 
			
		||||
 * - equal_ignore: Ignore the field for equality.
 | 
			
		||||
 *
 | 
			
		||||
 * - equal_ignore_if_zero: Ignore the field for equality if it is zero.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user