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. --- doc/src/sgml/config.sgml | 17 +---------------- doc/src/sgml/ref/do.sgml | 8 +++----- 2 files changed, 4 insertions(+), 21 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 4a681991954..71097ee21c8 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -4132,21 +4132,6 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; - - default_do_language (string) - - default_do_language configuration parameter - - - - This parameter specifies the language to use when the - LANGUAGE option is omitted in a - statement. - The default is plpgsql. - - - - transaction isolation level diff --git a/doc/src/sgml/ref/do.sgml b/doc/src/sgml/ref/do.sgml index 0a851447263..a85d598c6a3 100644 --- a/doc/src/sgml/ref/do.sgml +++ b/doc/src/sgml/ref/do.sgml @@ -1,5 +1,5 @@ @@ -69,8 +69,7 @@ DO code [ LANGUAGE The name of the procedural language the code is written in. - If omitted, the default is determined by the runtime parameter - . + If omitted, the default is plpgsql. @@ -83,6 +82,7 @@ DO code [ LANGUAGE The procedural language to be used must already have been installed into the current database by means of CREATE LANGUAGE. + plpgsql is installed by default, but other languages are not. @@ -108,8 +108,6 @@ BEGIN END LOOP; END$$; - This example assumes that default_do_language has its - default value, namely plpgsql. -- cgit v1.2.3