"Andreas 'ads' Scherbaum" <adsm...@wars-nicht.de> writes: > following this old discussion: > http://archives.postgresql.org/pgsql-patches/2008-03/msg00402.php > i modifies the patch to use the "CREATE [OR REPLACE] LANGUAGE" syntax.
This is not an "OR REPLACE" operation, because it doesn't replace the existing definition. What you've got here is a CREATE IF NOT EXISTS implementation that arbitrarily uses the other syntax. The point of the previous discussion was summed up here: http://archives.postgresql.org/pgsql-patches/2008-03/msg00416.php namely that CREATE OR REPLACE should leave the object having the properties specified in the command. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers