From dac9f40ba8fc43f4e454e6661b05a4dd52482c15 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 13 Oct 2001 01:35:25 +0000 Subject: [PATCH] Mention createlang when language not installed, per problem report. --- src/backend/commands/define.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/backend/commands/define.c b/src/backend/commands/define.c index 054046e417..02b7b0c04b 100644 --- a/src/backend/commands/define.c +++ b/src/backend/commands/define.c @@ -10,7 +10,7 @@ * * * 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 * The "DefineFoo" routines take the parse tree and pick out the @@ -282,8 +282,9 @@ CreateFunction(ProcedureStmt *stmt) if (!HeapTupleIsValid(languageTuple)) elog(ERROR, "Unrecognized language specified in a CREATE FUNCTION: " - "'%s'.\n\tRecognized languages are sql, C, " - "internal, and created procedural languages.", + "'%s'.\n\tPre-installed languages are SQL, C, and " + "internal.\n\tAdditional languages may be installed " + "using 'createlang'.", languageName); /* Check that this language is a PL */ -- 2.40.0