mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Make more use of castNode()
This commit is contained in:
		| @@ -335,10 +335,9 @@ transformArraySubscripts(ParseState *pstate, | ||||
| 	 */ | ||||
| 	foreach(idx, indirection) | ||||
| 	{ | ||||
| 		A_Indices  *ai = (A_Indices *) lfirst(idx); | ||||
| 		A_Indices  *ai = castNode(A_Indices, lfirst(idx)); | ||||
| 		Node	   *subexpr; | ||||
|  | ||||
| 		Assert(IsA(ai, A_Indices)); | ||||
| 		if (isSlice) | ||||
| 		{ | ||||
| 			if (ai->lidx) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user