1. 18 Dec, 1999 8 commits
  2. 17 Dec, 1999 11 commits
  3. 16 Dec, 1999 10 commits
  4. 14 Dec, 1999 5 commits
    • Bruce Momjian's avatar
      · 9805abb0
      Bruce Momjian authored
      This patch solves a couple of memory leaks in ecpglib.c.  The patch is
      ok for both the
      development tree (CVS) and for 6.5.3.
      
       Stephen Birch
      9805abb0
    • Tom Lane's avatar
      fix_parsetree_attnums was not nearly smart enough about walking parse · 7431796b
      Tom Lane authored
      trees.  Also rewrite find_all_inheritors() in a more intelligible style.
      7431796b
    • Bruce Momjian's avatar
      > From what I gather, this should be a little cleaner because the · 549a8ba5
      Bruce Momjian authored
      triggered
      > function now returns the right datatype.
      
      Oops, I got crossed up with Jan's improvements. Ignore this.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      peter_e@gmx.net                   75262 Uppsala
      549a8ba5
    • Bruce Momjian's avatar
      >From what I gather, this should be a little cleaner because the · f5a613c0
      Bruce Momjian authored
      triggered
      function now returns the right datatype.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      f5a613c0
    • Bruce Momjian's avatar
      Depending on my interpreting (and programming) skills, this might solve · bcaabc56
      Bruce Momjian authored
      anywhere from zero to two TODO items.
      
      * Allow flag to control COPY input/output of NULLs
      
      I got this:
      COPY table .... [ WITH NULL AS 'string' ]
      which does what you'd expect. The default is \N, otherwise you can use
      empty strings, etc. On Copy In this acts like a filter: every data item
      that looks like 'string' becomes a NULL. Pretty straightforward.
      
      This also seems to be related to
      
      * Make postgres user have a password by default
      
      If I recall this discussion correctly, the problem was actually that the
      default password for the postgres (or any) user is in fact "\N", because
      of the way copy is used. With this change, the file pg_pwd is copied out
      with nulls as empty strings, so if someone doesn't have a password, the
      password is just '', which one would expect from a new account. I don't
      think anyone really wants a hard-coded default password.
      
      Peter Eisentraut                  Sernanders väg 10:115
      bcaabc56
  5. 13 Dec, 1999 4 commits
  6. 12 Dec, 1999 2 commits
    • Tom Lane's avatar
      efb36d2b
    • Bruce Momjian's avatar
      I'm in TODO mood today ... · cb00b7fa
      Bruce Momjian authored
      * Document/trigger/rule so changes to pg_shadow recreate pg_pwd
      
      I did it with a trigger and it seems to work like a charm. The function
      that already updates the file for create and alter user has been made a
      built-in "SQL" function and a trigger is created at initdb time.
      
      Comments around the pg_pwd updating function seem to be worried about
      this
      routine being called concurrently, but I really don't see a reason to
      worry about this. Verify for yourself. I guess we never had a system
      trigger before, so treat this with care, and feel free to adjust the
      nomenclature as well.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      cb00b7fa