mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Make GetAttributeByNum visible again for external use.
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|  * | ||||
|  * | ||||
|  * IDENTIFICATION | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.18 1997/09/22 04:19:36 vadim Exp $ | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.19 1997/09/27 14:37:10 momjian Exp $ | ||||
|  * | ||||
|  *------------------------------------------------------------------------- | ||||
|  */ | ||||
| @@ -506,8 +506,11 @@ ExecEvalParam(Param *expression, ExprContext *econtext, bool *isNull) | ||||
|  *		to use this.  Ex: overpaid(EMP) might call GetAttributeByNum(). | ||||
|  * ---------------- | ||||
|  */ | ||||
| #ifdef NOT_USED | ||||
| static char * | ||||
| /* | ||||
|  * This gets called from external functions, so don't make it static | ||||
|  * or remove it | ||||
|  */ | ||||
| char * | ||||
| GetAttributeByNum(TupleTableSlot *slot, | ||||
| 				  AttrNumber attrno, | ||||
| 				  bool *isNull) | ||||
| @@ -539,8 +542,6 @@ GetAttributeByNum(TupleTableSlot *slot, | ||||
| 	return (char *) retval; | ||||
| } | ||||
|  | ||||
| #endif | ||||
|  | ||||
| /* XXX char16 name for catalogs */ | ||||
| #ifdef NOT_USED | ||||
| char	   * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user