mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Fix warning about unused variable
This commit is contained in:
		
							parent
							
								
									504f0c5d5d
								
							
						
					
					
						commit
						ae137bcaab
					
				@ -102,7 +102,6 @@ DefineVirtualRelation(RangeVar *relation, List *tlist, bool replace,
 | 
			
		||||
					  List *options)
 | 
			
		||||
{
 | 
			
		||||
	Oid			viewOid;
 | 
			
		||||
	Oid			namespaceId;
 | 
			
		||||
	LOCKMODE	lockmode;
 | 
			
		||||
	CreateStmt *createStmt = makeNode(CreateStmt);
 | 
			
		||||
	List	   *attrList;
 | 
			
		||||
@ -167,8 +166,7 @@ DefineVirtualRelation(RangeVar *relation, List *tlist, bool replace,
 | 
			
		||||
	 * namespace is temporary.
 | 
			
		||||
	 */
 | 
			
		||||
	lockmode = replace ? AccessExclusiveLock : NoLock;
 | 
			
		||||
	namespaceId =
 | 
			
		||||
		RangeVarGetAndCheckCreationNamespace(relation, lockmode, &viewOid);
 | 
			
		||||
	(void) RangeVarGetAndCheckCreationNamespace(relation, lockmode, &viewOid);
 | 
			
		||||
 | 
			
		||||
	if (OidIsValid(viewOid) && replace)
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user