Skip to content
Snippets Groups Projects
  1. Mar 15, 2004
  2. Mar 14, 2004
  3. Mar 09, 2004
    • Bruce Momjian's avatar
      I wanted to submit some changes to the bundled postgres startup · af96aa9a
      Bruce Momjian authored
      script for Mac OS X. I added calls to utilize the bundled apache
      rotatelogs script in the DB startup for log rotation. Also modified
      startup parameters file to allow using the "SystemStarter" utility to
      start/stop/restart postgres with a rotating log file.
      
      The script credits David Wheeler, 2002. I wrote him a message about
      the changes an he suggested I post them here. I explain some of the
      changes below.
      
      Not sure how to submit the changes. I have 3 files, "PostgreSQL"
      script, "StartupParameters.plist" file, "pg_startupscript.diff" file.
      The diff file was run against the original "PostgreSQL" script file.
      I'll try attaching them to this message. If they get filtered I can
      resend if needed.
      
      Thanks.
      
      Ray A.
      
      
      ------------------------------------
      
      1) Changed the "Provides" parameter in StartupParameters.plist to
      "PostgreSQL" from "postgres database" simply for ease of typing. It
      seems that the SystemStarter utility uses the "Provides" value if you
      want to control the script. This way I did not have to enclose it in
      quotes on commandline. The modified StartupParameters.plist is now an
      XML document also.
      
      
      2) For the startup script I added 2 user modifiable variables:
      
      # do you want to rotate the log files, 1=true 0=false
      ROTATELOGS=1
      
      # logfile rotate in seconds
      ROTATESEC="604800"
      
      I also added a non modifiable variable:
      
      # The apache log rotation utility
      LOGUTIL="/usr/sbin/rotatelogs"
      
      I modified the StartService and RestartService functions to execute
      the new commands if the user wants log rotation.
      
      Ray Aspeitia
      af96aa9a
  4. Mar 07, 2004
  5. Mar 05, 2004
  6. Mar 03, 2004
  7. Feb 24, 2004
  8. Feb 20, 2004
    • Bruce Momjian's avatar
      The following bug has been logged online: · 1d567aee
      Bruce Momjian authored
      Bug reference:      1081
      Logged by:          Aarjav Trivedi
      
      Email address:      aarjav@cc.gatech.edu
      
      PostgreSQL version: 7.4
      
      Operating system:   Linux
      
      Description:        Spelling error in tsearch2.sql leading to problems
      with
      tsearch
      
      Details:
      
      On line 620 of tsearch2.sql which is required to install and run
      TSEARCH,
      
      REATE FUNCTION tsstat_in(cstring)
      
      should be
      
      CREATE FUNCTION tsstat_in(cstring)
      
      because of this error, TSEARCH fails to work as specified,
      1d567aee
  9. Feb 17, 2004
    • Bruce Momjian's avatar
      Please apply this patch to contrib/dbmirror · 51b363ec
      Bruce Momjian authored
      In incorperates changes from myself and a number of contributors.
      
      This update to dbmirror provides:
      
      -replication of sequence operations via setval/nextval
      -DBMirror.pl support for logging to syslog
      -changed the names of the tables to dbmirror_*  (no quotes required)
      -Support for writitng SQL statements to files instead of directly to
       a slave database
      -More options for DBMirror.pl in the config files.
      
      Steven Singer
      51b363ec
  10. Feb 03, 2004
    • Tom Lane's avatar
      Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. · 391c3811
      Tom Lane authored
      Make btree index creation and initial validation of foreign-key constraints
      use maintenance_work_mem rather than work_mem as their memory limit.
      Add some code to guc.c to allow these variables to be referenced by their
      old names in SHOW and SET commands, for backwards compatibility.
      391c3811
  11. Jan 26, 2004
  12. Jan 19, 2004
  13. Jan 09, 2004
  14. Dec 27, 2003
  15. Dec 18, 2003
  16. Dec 17, 2003
  17. Dec 10, 2003
  18. Dec 08, 2003
  19. Dec 07, 2003
  20. Dec 05, 2003
  21. Dec 04, 2003
  22. Dec 03, 2003
  23. Dec 02, 2003
    • Bruce Momjian's avatar
      I've run across a pretty serious problem with pg_autovacuum. · ea4b9f14
      Bruce Momjian authored
      pg_autovacuum looses track of any table that's ever been truncated
      (possibly other situations too).   When i truncate a table it gets a
      new relfilenode in pg_class.  This is a problem because pg_autovacuum
      assumes pg_class.relfilenode will join to pg_stats_all_tables.relid.
      pg_stats_all_tables.relid is actallly the oid from pg_class, not the
      relfilenode.   These two values start out equal so pg_autovacuum works
      initially, but it fails later on because of this incorrect assumption.
      
      This patch fixes that problem.  Applied to HEAD and 7.4.X.
      
      Brian Hirt
      ea4b9f14
    • Bruce Momjian's avatar
      I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is · 15b5d6cf
      Bruce Momjian authored
      not initialized if a log file is not specified on the command line.  This
      causes an immediate segfault on systems that fill allocated memory with some
      value other than zero (my FreeBSD machine uses 0xD0).
      
      Several crashes later I discovered that args->user, password, host, and port
      are also used without being initialized.
      
      This doesn't appear to be fixed in CVS and I came up empty on a mailing list
      search -- hope it hasn't been reported already.
      
      Craig Boston
      15b5d6cf
  24. Nov 29, 2003
    • PostgreSQL Daemon's avatar
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
    • PostgreSQL Daemon's avatar
      · 969685ad
      PostgreSQL Daemon authored
      $Header: -> $PostgreSQL Changes ...
      969685ad
  25. Nov 28, 2003
Loading