mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Remove the recently added node types ReloptElem and OptionDefElem in favor
of adding optional namespace and action fields to DefElem. Having three node types that do essentially the same thing bloats the code and leads to errors of confusion, such as in yesterday's bug report from Khee Chin.
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
 | 
			
		||||
 * Portions Copyright (c) 1994, Regents of the University of California
 | 
			
		||||
 *
 | 
			
		||||
 * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.221 2009/02/25 03:30:37 tgl Exp $
 | 
			
		||||
 * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.222 2009/04/04 21:12:31 tgl Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -361,8 +361,6 @@ typedef enum NodeTag
 | 
			
		||||
	T_IndexElem,
 | 
			
		||||
	T_Constraint,
 | 
			
		||||
	T_DefElem,
 | 
			
		||||
	T_OptionDefElem,
 | 
			
		||||
	T_ReloptElem,
 | 
			
		||||
	T_RangeTblEntry,
 | 
			
		||||
	T_SortGroupClause,
 | 
			
		||||
	T_WindowClause,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user