1. 17 12月, 1999 4 次提交
    • B
      >Turning nextval and currval into keywords is not an acceptable way to · cf374feb
      Bruce Momjian 提交于
      >go about this.  That will risk breaking existing applications that use
      >those names as column names.
      >
      >It should actually almost work to write sq.nextval as things stand,
      >because Postgres has for a long time considered table.function and
      >function(table) to be interchangeable notations for certain kinds of
      >functions.  nextval doesn't seem to be one of that kind of function,
      >at the moment.  I'd suggest leaving the grammar as it was, and taking a
      >look at ParseFuncOrColumn in parse_func.c to see if you can't persuade
      >it to accept the sequence functions in that style.
      
      OK, good point. I tried to implement it somewhere else and ended up
      extending transformAttr. Attached you'll find the patch.
      
      Jeroen van Vianen
      cf374feb
    • B
      Here's the Create/Alter/Drop Group stuff that's been really overdue. I · 99b8f845
      Bruce Momjian 提交于
      didn't have time for documentation yet, but I'll write some. There are
      still some things to work out what happens when you alter or drop users,
      but the group stuff in and by itself is done.
      
      --
      Peter Eisentraut                  Sernanders väg 10:115
      99b8f845
    • B
      Update for QNX. · 4cb1fb6f
      Bruce Momjian 提交于
      4cb1fb6f
    • B
      autoconf · 8d49a660
      Bruce Momjian 提交于
      8d49a660
  2. 16 12月, 1999 3 次提交
  3. 15 12月, 1999 1 次提交
    • B
      · 9805abb0
      Bruce Momjian 提交于
      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
  4. 14 12月, 1999 6 次提交
  5. 13 12月, 1999 3 次提交
  6. 12 12月, 1999 3 次提交
    • B
      I'm in TODO mood today ... · cb00b7fa
      Bruce Momjian 提交于
      * 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
    • B
      Meanwhile, database names with single quotes in names don't work very well · 11023eb1
      Bruce Momjian 提交于
      at all, and because of shell quoting rules this can't be fixed, so I put
      in error messages to that end.
      
      Also, calling create or drop database in a transaction block is not so
      good either, because the file system mysteriously refuses to roll back rm
      calls on transaction aborts. :) So I put in checks to see if a transaction
      is in progress and signal an error.
      
      Also I put the whole call in a transaction of its own to be able to roll
      back changes to pg_database in case the file system operations fail.
      
      The alternative location issues I posted recently were untouched, awaiting
      the outcome of that discussion. Other than that, this should be much more
      fool-proof now.
      
      The docs I cleaned up as well.
      
      Peter Eisentraut                  Sernanders väg 10:115
      11023eb1
    • B
      Fix for psql from Peter. · 1ff0a475
      Bruce Momjian 提交于
      1ff0a475
  7. 11 12月, 1999 6 次提交
  8. 10 12月, 1999 11 次提交
  9. 09 12月, 1999 3 次提交
    • B
      Update for QNX from Kardos, Dr. Andrea · cb0032cd
      Bruce Momjian 提交于
      cb0032cd
    • T
      Replace generic 'Illegal use of aggregates' error message with one that · f7f41c7c
      Tom Lane 提交于
      shows the specific ungrouped variable being complained of.  Perhaps this
      will reduce user confusion...
      f7f41c7c
    • B
      Hi, · d65a27f9
      Bruce Momjian 提交于
      I was able to crash postgres 6.5.3 when I did an 'alter user' command.
      After I started a debugger I found the problem in the timezone handling
      of
      datetime (my Linux box lost its timezone information, that's how the
      problem occurred).
      
      Only 7 bytes are reserved for the timezone, without checking for
      boundaries.
      
      Attached is a patch that fixes this problem and emits a NOTICE if a
      timezone is encountered that is longer than MAXTZLEN bytes, like this:
      
      Jeroen van Vianen
      d65a27f9