From d879697cd291a31c635edf17c4b8c170ac40ffc1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 26 Jan 2010 16:33:40 +0000 Subject: Remove the default_do_language parameter, instead making DO use a hardwired default of "plpgsql". This is more reasonable than it was when the DO patch was written, because we have since decided that plpgsql should be installed by default. Per discussion, having a parameter for this doesn't seem useful enough to justify the risk of application breakage if the value is changed unexpectedly. --- src/backend/commands/functioncmds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/functioncmds.c') diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c index 724b7565516..5c8e13bc9a2 100644 --- a/src/backend/commands/functioncmds.c +++ b/src/backend/commands/functioncmds.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.114 2010/01/02 16:57:37 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.115 2010/01/26 16:33:40 tgl Exp $ * * DESCRIPTION * These routines take the parse tree and pick out the @@ -2001,11 +2001,11 @@ ExecuteDoStmt(DoStmt *stmt) (errcode(ERRCODE_SYNTAX_ERROR), errmsg("no inline code specified"))); - /* if LANGUAGE option wasn't specified, use the default language */ + /* if LANGUAGE option wasn't specified, use the default */ if (language_item) language = strVal(language_item->arg); else - language = default_do_language; + language = "plpgsql"; /* Convert language name to canonical case */ languageName = case_translate_language_name(language); -- cgit v1.2.3