Skip to content
Snippets Groups Projects
  1. May 07, 2004
    • Tom Lane's avatar
      Solve the 'Turkish problem' with undesirable locale behavior for case · 0bd61548
      Tom Lane authored
      conversion of basic ASCII letters.  Remove all uses of strcasecmp and
      strncasecmp in favor of new functions pg_strcasecmp and pg_strncasecmp;
      remove most but not all direct uses of toupper and tolower in favor of
      pg_toupper and pg_tolower.  These functions use the same notions of
      case folding already developed for identifier case conversion.  I left
      the straight locale-based folding in place for situations where we are
      just manipulating user data and not trying to match it to built-in
      strings --- for example, the SQL upper() function is still locale
      dependent.  Perhaps this will prove not to be what's wanted, but at
      the moment we can initdb and pass regression tests in Turkish locale.
      0bd61548
  2. Apr 22, 2004
    • Bruce Momjian's avatar
      Attached is are a few small fixes for dbmirror. · a4d9d3e0
      Bruce Momjian authored
      1. Fixed bug where sequences were being mirrored incorrectly if they
      exceeded 127
      2. Fixed a bug in the perl script with mirroring sequences(John
      Burtenshaw sent an email to patches describing the bug in March but I
      htink he forgot to attach his patch)
      3. The dates/times in the transaction files will always use 2 digits.
      
      Steven Singer
      a4d9d3e0
  3. Apr 20, 2004
  4. Apr 19, 2004
  5. Apr 02, 2004
  6. Apr 01, 2004
    • Tom Lane's avatar
      Replace TupleTableSlot convention for whole-row variables and function · 375369ac
      Tom Lane authored
      results with tuples as ordinary varlena Datums.  This commit does not
      in itself do much for us, except eliminate the horrid memory leak
      associated with evaluation of whole-row variables.  However, it lays the
      groundwork for allowing composite types as table columns, and perhaps
      some other useful features as well.  Per my proposal of a few days ago.
      375369ac
  7. Mar 30, 2004
  8. Mar 25, 2004
  9. Mar 22, 2004
  10. Mar 15, 2004
  11. Mar 14, 2004
  12. 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
  13. Mar 07, 2004
  14. Mar 05, 2004
  15. Mar 03, 2004
  16. Feb 24, 2004
  17. 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
  18. 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
  19. 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
  20. Jan 26, 2004
  21. Jan 19, 2004
  22. Jan 09, 2004
  23. Dec 27, 2003
  24. Dec 18, 2003
  25. Dec 17, 2003
Loading