Skip to content
Snippets Groups Projects
  1. Jan 11, 2006
  2. Oct 15, 2005
  3. 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
  4. Aug 12, 2005
  5. 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
  6. 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
  7. May 19, 2005
  8. May 11, 2005
  9. May 02, 2005
  10. 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
  11. Oct 12, 2004
  12. Aug 29, 2004
  13. 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
  14. 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
  15. Jun 02, 2004
  16. May 21, 2004
  17. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  18. Aug 04, 2003
  19. Jun 27, 2003
  20. Feb 13, 2003
    • Bruce Momjian's avatar
      The "random" regression test uses a function called oidrand(), which · 6cb1f4fe
      Bruce Momjian authored
      takes two parameters, an OID x and an integer y, and returns "true" with
      probability 1/y (the OID argument is ignored). This can be useful -- for
      example, it can be used to select a random sampling of the rows in a
      table (which is what the "random" regression test uses it for).
      
      This patch removes that function, because it was old and messy. The old
      function had the following problems:
      
      - it was undocumented
      
      - it was poorly named
      
      - it was designed to workaround an optimizer bug that no longer exists
      (the OID argument is to ensure that the optimizer won't optimize away
      calls to the function; AFAIK marking the function as 'volatile' suffices
      nowadays)
      
      - it used a different random-number generation technique than the other
      PSRNG-related functions in the backend do (it called random() like they
      do, but it had its own logic for setting a set and deciding when to
      reseed the RNG).
      
      Ok, this patch removes oidrand(), oidsrand(), and userfntest(), and
      improves the SGML docs a little bit (un-commenting the setseed()
      documentation).
      
      Neil Conway
      6cb1f4fe
  21. Sep 04, 2002
  22. Sep 02, 2002
  23. Aug 20, 2002
    • Bruce Momjian's avatar
      · de9801fc
      Bruce Momjian authored
      Add current_database().
      
      > Quick system function to pull out the current database.
      >
      > I've used this a number of times to allow stored procedures to find out
      > where they are.  Especially useful for those that do logging or hit a
      > remote server.
      >
      > It's called current_database() to match with current_user().
      
      It's also a necessity for an informational schema.  The catalog
      (database) name is required in a number of places.
      
      Rod Taylor
      de9801fc
  24. Jun 20, 2002
  25. Oct 25, 2001
  26. Mar 22, 2001
  27. Jan 24, 2001
  28. Aug 07, 2000
  29. Jun 05, 2000
  30. Jan 26, 2000
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  31. Jul 16, 1999
  32. Feb 14, 1999
  33. Sep 01, 1998
  34. Jun 09, 1998
  35. Feb 24, 1998
  36. Dec 19, 1997
Loading