diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/create_transform.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/ref/do.sgml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_transform.sgml b/doc/src/sgml/ref/create_transform.sgml index 17cb1932cfe..4bce36b41a7 100644 --- a/doc/src/sgml/ref/create_transform.sgml +++ b/doc/src/sgml/ref/create_transform.sgml @@ -157,7 +157,7 @@ CREATE [ OR REPLACE ] TRANSFORM FOR <replaceable>type_name</replaceable> LANGUAG <programlisting> CREATE TYPE hstore ...; -CREATE LANGUAGE plpythonu ...; +CREATE EXTENSION plpythonu; </programlisting> Then create the necessary functions: <programlisting> @@ -176,7 +176,7 @@ CREATE TRANSFORM FOR hstore LANGUAGE plpythonu ( TO SQL WITH FUNCTION plpython_to_hstore(internal) ); </programlisting> - In practice, these commands would be wrapped up in extensions. + In practice, these commands would be wrapped up in an extension. </para> <para> diff --git a/doc/src/sgml/ref/do.sgml b/doc/src/sgml/ref/do.sgml index b9a6f9a6fd6..a3a4877e80f 100644 --- a/doc/src/sgml/ref/do.sgml +++ b/doc/src/sgml/ref/do.sgml @@ -81,7 +81,7 @@ DO [ LANGUAGE <replaceable class="parameter">lang_name</replaceable> ] <replacea <para> The procedural language to be used must already have been installed - into the current database by means of <command>CREATE LANGUAGE</command>. + into the current database by means of <command>CREATE EXTENSION</command>. <literal>plpgsql</literal> is installed by default, but other languages are not. </para> |