Skip to content
Snippets Groups Projects
  1. Jul 14, 2009
    • Tom Lane's avatar
      Tweak the core scanner so that it can be used by plpgsql too. · 1aa58d3a
      Tom Lane authored
      Changes:
      
      Pass in the keyword lookup array instead of having it be hardwired.
      (This incidentally allows elimination of some duplicate coding in ecpg.)
      
      Re-order the token declarations in gram.y so that non-keyword tokens have
      numbers that won't change when keywords are added or removed.
      
      Add ".." and ":=" to the set of tokens recognized by scan.l.  (Since these
      combinations are nowhere legal in core SQL, this does not change anything
      except the precise wording of the error you get when you write this.)
      1aa58d3a
  2. Jun 11, 2009
  3. Jan 08, 2009
  4. Jan 07, 2009
  5. Jan 01, 2009
  6. Dec 05, 2008
  7. Nov 03, 2008
  8. Oct 05, 2008
  9. Jul 03, 2008
  10. Apr 17, 2008
  11. Apr 15, 2008
  12. Apr 04, 2008
  13. Jan 01, 2008
  14. Aug 19, 2007
  15. Jan 05, 2007
  16. Nov 21, 2006
    • Tom Lane's avatar
      On systems that have setsid(2) (which should be just about everything except · 3ad0728c
      Tom Lane authored
      Windows), arrange for each postmaster child process to be its own process
      group leader, and deliver signals SIGINT, SIGTERM, SIGQUIT to the whole
      process group not only the direct child process.  This provides saner behavior
      for archive and recovery scripts; in particular, it's possible to shut down a
      warm-standby recovery server using "pg_ctl stop -m immediate", since delivery
      of SIGQUIT to the startup subprocess will result in killing the waiting
      recovery_command.  Also, this makes Query Cancel and statement_timeout apply
      to scripts being run from backends via system().  (There is no support in the
      core backend for that, but it's widely done using untrusted PLs.)  Per gripe
      from Stephen Harris and subsequent discussion.
      3ad0728c
  17. Oct 04, 2006
  18. Jul 14, 2006
  19. Jul 13, 2006
  20. Mar 05, 2006
  21. Jan 11, 2006
  22. Oct 15, 2005
  23. Sep 16, 2005
    • Neil Conway's avatar
      Rename pg_complete_relation_size() to pg_total_relation_size(), for the · e4d9b697
      Neil Conway authored
      sake of brevity and clarity.
      
      Make pg_reload_conf(), pg_rotate_logfile(), and pg_cancel_backend()
      return a boolean rather than an integer to indicate success or failure.
      
      Along the way, make some minor cleanups to dbsize.c -- in particular,
      use elog() rather than ereport() for "shouldn't happen" error
      conditions, and remove some of the more flagrant violations of the
      Postgres indentation conventions.
      
      Catalog version bumped.
      e4d9b697
  24. Aug 12, 2005
  25. Jul 04, 2005
    • Tom Lane's avatar
      Arrange for the postmaster (and standalone backends, initdb, etc) to · eb5949d1
      Tom Lane authored
      chdir into PGDATA and subsequently use relative paths instead of absolute
      paths to access all files under PGDATA.  This seems to give a small
      performance improvement, and it should make the system more robust
      against naive DBAs doing things like moving a database directory that
      has a live postmaster in it.  Per recent discussion.
      eb5949d1
  26. Jun 19, 2005
    • Tom Lane's avatar
      Simplify uses of readdir() by creating a function ReadDir() that · 3f749924
      Tom Lane authored
      includes error checking and an appropriate ereport(ERROR) message.
      This gets rid of rather tedious and error-prone manipulation of errno,
      as well as a Windows-specific bug workaround, at more than a dozen
      call sites.  After an idea in a recent patch by Heikki Linnakangas.
      3f749924
  27. May 19, 2005
  28. May 11, 2005
  29. May 02, 2005
  30. Dec 31, 2004
    • PostgreSQL Daemon's avatar
      · 2ff50159
      PostgreSQL Daemon authored
      Tag appropriate files for rc3
      
      Also performed an initial run through of upgrading our Copyright date to
      extend to 2005 ... first run here was very simple ... change everything
      where: grep 1996-2004 && the word 'Copyright' ... scanned through the
      generated list with 'less' first, and after, to make sure that I only
      picked up the right entries ...
      2ff50159
  31. Oct 12, 2004
  32. Aug 29, 2004
  33. Aug 03, 2004
    • Tom Lane's avatar
      Add functions pg_start_backup, pg_stop_backup to create backup label · 58c41712
      Tom Lane authored
      and history files as per recent discussion.  While at it, remove
      pg_terminate_backend, since we have decided we do not have time during
      this release cycle to address the reliability concerns it creates.
      Split the 'Miscellaneous Functions' documentation section into
      'System Information Functions' and 'System Administration Functions',
      which hopefully will draw the eyes of those looking for such things.
      58c41712
  34. Jul 02, 2004
    • Joe Conway's avatar
      Andreas Pflug wrote: · 0b89d261
      Joe Conway authored
       From an idea of Bruce, the attached patch implements the function
       pg_tablespace_databases(oid) RETURNS SETOF oid
       which delivers as set of database oids having objects in the selected
       tablespace, enabling an admin to examine only the databases affecting
       the tablespace for objects instead of scanning all of them.
      
      initdb forced
      0b89d261
  35. Jun 02, 2004
  36. May 21, 2004
Loading