1. 27 Feb, 2010 2 commits
  2. 26 Feb, 2010 13 commits
  3. 25 Feb, 2010 13 commits
  4. 24 Feb, 2010 10 commits
  5. 23 Feb, 2010 2 commits
    • Tom Lane's avatar
      Add an OR REPLACE option to CREATE LANGUAGE. · 11b58470
      Tom Lane authored
      This operates in the same way as other CREATE OR REPLACE commands, ie,
      it replaces everything but the ownership and ACL lists of an existing
      entry, and requires the caller to have owner privileges for that entry.
      
      While modifying an existing language has some use in development scenarios,
      in typical usage all the "replaced" values come from pg_pltemplate so there
      will be no actual change in the language definition.  The reason for adding
      this is mainly to allow programs to ensure that a language exists without
      triggering an error if it already does exist.
      
      This commit just adds and documents the new option.  A followon patch
      will use it to clean up some unpleasant cases in pg_dump and pg_regress.
      11b58470
    • Bruce Momjian's avatar
      c4fc082a