Skip to content
Snippets Groups Projects
  1. Aug 08, 2003
  2. Aug 05, 2003
  3. Aug 04, 2003
  4. Aug 02, 2003
  5. Aug 01, 2003
  6. Jul 31, 2003
  7. Jul 30, 2003
    • Tom Lane's avatar
      Fix numeric_smaller, numeric_larger, float4smaller, float4larger, · 4b1c6695
      Tom Lane authored
      float8smaller, float8larger (and thereby the MIN/MAX aggregates on these
      datatypes) to agree with the datatypes' comparison operations as
      regards NaN handling.  In all these datatypes, NaN is arbitrarily
      considered larger than any normal value ... but MIN/MAX had not gotten
      the word.  Per recent discussion on pgsql-sql.
      4b1c6695
  8. Jul 29, 2003
    • Tom Lane's avatar
      Apply (a somewhat revised version of) Greg Mullane's patch to eliminate · 9c2a7c22
      Tom Lane authored
      heuristic determination of day vs month in date/time input.  Add the
      ability to specify that input is interpreted as yy-mm-dd order (which
      formerly worked, but only for yy greater than 31).  DateStyle's input
      component now has the preferred spellings DMY, MDY, or YMD; the older
      keywords European and US are now aliases for the first two of these.
      Per recent discussions on pgsql-general.
      9c2a7c22
  9. Jul 28, 2003
  10. Jul 27, 2003
    • Tom Lane's avatar
    • Bruce Momjian's avatar
      Tom, happier with the attached patch? · 440953e6
      Bruce Momjian authored
      I'd have to disagree with regards to the memory leaks not being worth
      a mention - any such leak can cause problems when the PostgreSQL
      installation is either unattended, long-living andor has very high
      connection levels. Half a kilobyte on start-up isn't negligible in
      this light.
      
      Regards, Lee.
      
      Tom Lane writes:
       > Lee Kindness <lkindness@csl.co.uk> writes:
       > > Guys, attached is a patch to fix two memory leaks on start-up.
       >
       > I do not like the changes to miscinit.c.  In the first place, it is not
       > a "memory leak" to do a one-time allocation of state for a proc_exit
       > function.  A bigger complaint is that your proposed change introduces
       > fragile coupling between CreateLockFile and its callers, in order to
       > save no resources worth mentioning.  More, it introduces an assumption
       > that the globals directoryLockFile and socketLockFile don't change while
       > the postmaster is running.  UnlinkLockFile should unlink the file that
       > it was originally told to unlink, regardless of what happens to those
       > globals.
       >
       > If you are intent on spending code to free stuff just before the
       > postmaster exits, a better fix would be for UnlinkLockFile to free its
       > string argument after using it.
      
      Lee Kindness
      440953e6
    • Tom Lane's avatar
      Error message editing in utils/adt. Again thanks to Joe Conway for doing · b6a1d25b
      Tom Lane authored
      the bulk of the heavy lifting ...
      b6a1d25b
    • Bruce Momjian's avatar
      > Joe Conway <mail@joeconway.com> writes: · 38fb906f
      Bruce Momjian authored
      >>ISTM that "source" is worth knowing.
      >
      > Hm, possibly.  Any other opinions?
      
      This version has the seven fields I proposed, including "source". Here's
      an example that shows why I think it's valuable:
      
      regression=# \x
      Expanded display is on.
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | on
      context | user
      vartype | bool
      source  | default
      min_val |
      max_val |
      
      regression=# update pg_settings set setting = 'off' where name =
      'enable_seqscan';
      -[ RECORD 1 ]---
      set_config | off
      
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | off
      context | user
      vartype | bool
      source  | session
      min_val |
      max_val |
      
      regression=# alter user postgres set enable_seqscan to 'off';
      ALTER USER
      
      (log out and then back in again)
      
      regression=# \x
      Expanded display is on.
      regression=# select * from pg_settings where name = 'enable_seqscan';
      -[ RECORD 1 ]-----------
      name    | enable_seqscan
      setting | off
      context | user
      vartype | bool
      source  | user
      min_val |
      max_val |
      
      In the first case, enable_seqscan is set to its default value. After
      setting it to off, it is obvious that the value has been changed for the
      session only. In the third case, you can see that the value has been set
      specifically for the user.
      
      Joe Conway
      38fb906f
    • Bruce Momjian's avatar
      This makes the initcap function compatible with Oracle 9i, it has been · e7fe89d5
      Bruce Momjian authored
      tested on both redhat 8 and FreebSD.
      --
      Mike Nolan
      e7fe89d5
  11. Jul 26, 2003
  12. Jul 25, 2003
  13. Jul 24, 2003
  14. Jul 23, 2003
  15. Jul 22, 2003
  16. Jul 19, 2003
  17. Jul 18, 2003
  18. Jul 17, 2003
  19. Jul 15, 2003
  20. Jul 14, 2003
    • Tom Lane's avatar
      The default values for shared_buffers and max_connections are now 1000 · de98a7e2
      Tom Lane authored
      and 100 respectively, if the platform will allow it.  initdb selects
      values that are not too large to allow the postmaster to start, and
      places these values in the installed postgresql.conf file.  This allows
      us to continue to start up out-of-the-box on platforms with small SHMMAX,
      while having somewhat-realistic default settings on platforms with
      reasonable SHMMAX.  Per recent pghackers discussion.
      de98a7e2
Loading