1. 21 Jun, 2005 5 commits
    • Tom Lane's avatar
      Cause initdb to create a third standard database "postgres", which · 6f7fc0ba
      Tom Lane authored
      unlike template0 and template1 does not have any special status in
      terms of backend functionality.  However, all external utilities such
      as createuser and createdb now connect to "postgres" instead of
      template1, and the documentation is changed to encourage people to use
      "postgres" instead of template1 as a play area.  This should fix some
      longstanding gotchas involving unexpected propagation of database
      objects by createdb (when you used template1 without understanding
      the implications), as well as ameliorating the problem that CREATE
      DATABASE is unhappy if anyone else is connected to template1.
      Patch by Dave Page, minor editing by Tom Lane.  All per recent
      pghackers discussions.
      6f7fc0ba
    • Neil Conway's avatar
      Fix a potential backend crash during authentication when parsing a · ec3a1af0
      Neil Conway authored
      malformed ident map file.  This was introduced by the linked list
      rewrite in 8.0 -- mea maxima culpa.
      
      Per Coverity static analysis performed by EnterpriseDB.
      ec3a1af0
    • Neil Conway's avatar
      Trivial dead code removal: in CreateSchemaCommand(), 'owner_name' is · 09d1110c
      Neil Conway authored
      only used in one branch of an if statement, so we can move its
      declaration to that block. This also avoids an unnecessary syscache
      lookup.
      
      Per Coverity static analysis performed by EnterpriseDB.
      09d1110c
    • Neil Conway's avatar
      Trivial dead code removal: in _complete_from_query(), 'text' cannot be · 2d4b9736
      Neil Conway authored
      NULL (e.g. due to the preceding strlen()). Therefore we needn't recheck
      this before initializing 'e_text'.
      
      Per Coverity static analysis performed by EnterpriseDB.
      2d4b9736
    • Neil Conway's avatar
      Trivial dead code removal: in makeObjectName(), name1 must be non-NULL · 141e878b
      Neil Conway authored
      (due to the preceding strlen(), for example), so we needn't recheck this
      before invoking pg_mbcliplen().
      
      Per Coverity static analysis performed by EnterpriseDB.
      141e878b
  2. 20 Jun, 2005 13 commits
  3. 19 Jun, 2005 8 commits
  4. 18 Jun, 2005 6 commits
  5. 17 Jun, 2005 6 commits
  6. 16 Jun, 2005 2 commits