mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix long-obsolete comment.
Commit c94959d41 fixed DROP OPERATOR to reset oprcom/oprnegate links
to the dropped operator; but it missed updating this old comment that
claimed we allow such links to dangle.
			
			
This commit is contained in:
		@@ -827,11 +827,10 @@ makeOperatorDependencies(HeapTuple tuple,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
	 * NOTE: we do not consider the operator to depend on the associated
 | 
						 * NOTE: we do not consider the operator to depend on the associated
 | 
				
			||||||
	 * operators oprcom and oprnegate. We would not want to delete this
 | 
						 * operators oprcom and oprnegate.  We do not want to delete this operator
 | 
				
			||||||
	 * operator if those go away, but only reset the link fields; which is not
 | 
						 * if those go away, but only reset the link fields; which is not a
 | 
				
			||||||
	 * a function that the dependency code can presently handle.  (Something
 | 
						 * function that the dependency logic can handle.  (It's taken care of
 | 
				
			||||||
	 * could perhaps be done with objectSubId though.)	For now, it's okay to
 | 
						 * manually within RemoveOperatorById, instead.)
 | 
				
			||||||
	 * let those links dangle if a referenced operator is removed.
 | 
					 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Dependency on implementation function */
 | 
						/* Dependency on implementation function */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user