1. 04 8月, 2004 1 次提交
    • T
      Add functions pg_start_backup, pg_stop_backup to create backup label · 58c41712
      Tom Lane 提交于
      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
  2. 03 7月, 2004 1 次提交
    • J
      Andreas Pflug wrote: · 0b89d261
      Joe Conway 提交于
       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
  3. 03 6月, 2004 1 次提交
  4. 21 5月, 2004 1 次提交
  5. 30 11月, 2003 1 次提交
    • P
      · 969685ad
      PostgreSQL Daemon 提交于
      $Header: -> $PostgreSQL Changes ...
      969685ad
  6. 04 8月, 2003 1 次提交
  7. 28 6月, 2003 1 次提交
  8. 27 6月, 2003 1 次提交
  9. 13 2月, 2003 1 次提交
    • B
      The "random" regression test uses a function called oidrand(), which · 6cb1f4fe
      Bruce Momjian 提交于
      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
  10. 05 9月, 2002 1 次提交
  11. 02 9月, 2002 1 次提交
  12. 20 8月, 2002 1 次提交
    • B
      · de9801fc
      Bruce Momjian 提交于
      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
  13. 21 6月, 2002 1 次提交
  14. 25 10月, 2001 1 次提交
  15. 22 3月, 2001 1 次提交
  16. 25 1月, 2001 1 次提交
  17. 07 8月, 2000 1 次提交
    • T
      Clean up bogosities in use of random(3) and srandom(3) --- do not assume · 94260470
      Tom Lane 提交于
      that RAND_MAX applies to them, since it doesn't.  Instead add a
      config.h parameter MAX_RANDOM_VALUE.  This is currently set at 2^31-1
      but could be auto-configured if that ever proves necessary.  Also fix
      some outright bugs like calling srand() where srandom() is appropriate.
      94260470
  18. 05 6月, 2000 1 次提交
  19. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  20. 16 7月, 1999 1 次提交
  21. 14 2月, 1999 1 次提交
  22. 01 9月, 1998 2 次提交
  23. 10 6月, 1998 1 次提交
  24. 24 2月, 1998 1 次提交
  25. 19 12月, 1997 1 次提交
  26. 09 9月, 1997 1 次提交
  27. 08 9月, 1997 1 次提交
  28. 07 9月, 1997 1 次提交
  29. 28 7月, 1997 1 次提交
  30. 28 4月, 1997 1 次提交
  31. 14 11月, 1996 1 次提交
  32. 31 10月, 1996 1 次提交
  33. 23 7月, 1996 1 次提交
  34. 16 7月, 1996 1 次提交
  35. 09 7月, 1996 1 次提交