mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Mention createlang when language not installed, per problem report.
This commit is contained in:
		
							parent
							
								
									cdd4379394
								
							
						
					
					
						commit
						dac9f40ba8
					
				| @ -10,7 +10,7 @@ | |||||||
|  * |  * | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * IDENTIFICATION | ||||||
|  *	  $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.61 2001/10/02 21:39:35 tgl Exp $ |  *	  $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.62 2001/10/13 01:35:25 momjian Exp $ | ||||||
|  * |  * | ||||||
|  * DESCRIPTION |  * DESCRIPTION | ||||||
|  *	  The "DefineFoo" routines take the parse tree and pick out the |  *	  The "DefineFoo" routines take the parse tree and pick out the | ||||||
| @ -282,8 +282,9 @@ CreateFunction(ProcedureStmt *stmt) | |||||||
| 		if (!HeapTupleIsValid(languageTuple)) | 		if (!HeapTupleIsValid(languageTuple)) | ||||||
| 			elog(ERROR, | 			elog(ERROR, | ||||||
| 				 "Unrecognized language specified in a CREATE FUNCTION: " | 				 "Unrecognized language specified in a CREATE FUNCTION: " | ||||||
| 				 "'%s'.\n\tRecognized languages are sql, C, " | 				 "'%s'.\n\tPre-installed languages are SQL, C, and " | ||||||
| 				 "internal, and created procedural languages.", | 				 "internal.\n\tAdditional languages may be installed " | ||||||
|  | 				 "using 'createlang'.", | ||||||
| 				 languageName); | 				 languageName); | ||||||
| 
 | 
 | ||||||
| 		/* Check that this language is a PL */ | 		/* Check that this language is a PL */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user