1. 04 Sep, 2001 1 commit
  2. 22 Aug, 2001 1 commit
  3. 21 Aug, 2001 1 commit
  4. 07 Aug, 2001 3 commits
    • Bruce Momjian's avatar
      2cb95cd9
    • Bruce Momjian's avatar
      Sorry - I should have gotten to this sooner. Here's a patch which you should · cdd02cdf
      Bruce Momjian authored
      be able to apply against what you just committed. It rolls soundex into
      fuzzystrmatch.
      
      Remove soundex/metaphone and merge into fuzzystrmatch.
      
      Joe Conway
      cdd02cdf
    • Bruce Momjian's avatar
      Per this discussion, here's a patch to implement both levenshtein() and · d8783c51
      Bruce Momjian authored
      metaphone() in a contrib. There seem to be a fair number of different
      approaches to both of these algorithms. I used the simplest case for
      levenshtein which has a cost  of 1 for any character insertion, deletion, or
      substitution. For metaphone, I adapted the same code from CPAN that the PHP
      folks did.
      
      A couple of questions:
      1. Does it make sense to fold the soundex contrib together with this one?
      
      2. I was debating trying to add multibyte support to levenshtein (it would
      make no sense at all for metaphone), but a quick search through the contrib
      directory found no hits on the word MULTIBYTE. Should worry about adding
      multibyte support to levenshtein()?
      
      Joe Conway
      d8783c51
  5. 30 Jul, 2001 1 commit
  6. 14 Jun, 2001 1 commit
  7. 31 May, 2001 1 commit
  8. 10 May, 2001 2 commits
  9. 09 May, 2001 1 commit
  10. 14 Mar, 2001 1 commit
  11. 23 Feb, 2001 1 commit
    • Bruce Momjian's avatar
      I had a need to read such things as the backend locale and the catalog · b25e60d8
      Bruce Momjian authored
      version number from the current database, and couldn't find any existing
      program to do that.
      
      linda:~$ pg_controldata
      Log file id:                          0
      Log file segment:                     5
      Last modified:                        Wed Feb  7 19:35:47 2001
      Database block size:                  8192
      Blocks per segment of large relation: 131072
      Catalog version number:               200101061
      LC_COLLATE:                           en_GB
      LC_CTYPE:                             en_GB
      Log archive directory:
      
      Oliver Elphick                                Oliver.Elphick@lfix.co.uk
      b25e60d8
  12. 11 Feb, 2001 1 commit
  13. 10 Feb, 2001 1 commit
  14. 08 Feb, 2001 1 commit
  15. 03 Feb, 2001 1 commit
  16. 30 Jan, 2001 1 commit
  17. 15 Jan, 2001 1 commit
  18. 13 Jan, 2001 5 commits
    • Marc G. Fournier's avatar
      · 25c0ffb9
      Marc G. Fournier authored
      check one last time for any erros ...
      25c0ffb9
    • Marc G. Fournier's avatar
      · 1fc331bb
      Marc G. Fournier authored
      ignore his too
      1fc331bb
    • Marc G. Fournier's avatar
      · 3c085b1b
      Marc G. Fournier authored
      and this time?
      3c085b1b
    • Marc G. Fournier's avatar
      · d5e66044
      Marc G. Fournier authored
      try this again ...
      d5e66044
    • Marc G. Fournier's avatar
      · 3f8ea178
      Marc G. Fournier authored
      okay, this appears to work ...
      
      onlly changes aer adding some white space ...
      3f8ea178
  19. 11 Dec, 2000 1 commit
  20. 21 Nov, 2000 1 commit
  21. 18 Sep, 2000 1 commit
  22. 19 Jun, 2000 1 commit
  23. 15 Jun, 2000 1 commit
  24. 12 Jun, 2000 1 commit
  25. 16 Apr, 2000 1 commit
  26. 25 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      as attache of this mail is patch (to the main tree) with to_char's · b866d2e2
      Bruce Momjian authored
      family functions. Contain:
      
        conversion from a datetype to formatted text:
      
      	to_char( datetime, 	text)
      	to_char( timestamp,	text)
      	to_char( int4,		text)
      	to_char( int8,		text)
      	to_char( float4,	text)
      	to_char( float8,	text)
      	to_char( numeric,	text)
      
        vice versa:
      
      	to_date		( text, text)
      	to_datetime	( text, text)
      	to_timestamp	( text, text)
      	to_number	( text, text)	   (convert to numeric)
      
      
        PostgreSQL to_char is very compatible with Oracle's to_char(), but not
      total exactly (now). Small differentions are in number formating. It will
      fix in next to_char() version.
      
      
      ! If will this patch aplly to the main tree, must be delete the current
        to_char version in contrib (directory "dateformat" and note in contrib's
        README), this patch not erase it (sorry Bruce).
      
      
      
      The patch patching files:
      
      	doc/src/sgml/func.sgml
                           ^^^^^^^^
         Hmm, I'm not sure if my English... :( Check it anyone (volunteer)?
      
         Thomas, it is right? SGML is not my primary lang  and compile
         the current PG docs tree is very happy job (hard variables setting in
         docs/sgml/Makefile --> HSTYLE= /home/users/t/thomas/....  :-)
      
         What add any definition to global configure.in and set Makefiles in docs
         tree via ./configure?
      
      	src/backend/utils/adt/Makefile
      	src/backend/utils/adt/formatting.c
      	src/include/catalog/pg_proc.h
      	src/include/utils/formatting.h
      Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
      b866d2e2
  27. 15 Jan, 2000 1 commit
  28. 29 Nov, 1999 1 commit
    • Bruce Momjian's avatar
      I finish devel. of Oracle compatible DateTime routines TO_CHAR(), · 1c5aec60
      Bruce Momjian authored
      TO_DATE()
      and PgSQL extension FROM_CHAR().
      
      TO_CHAR() routine allow formating text output with a datetime values:
      
              SELECT TO_CHAR('now'::datetime, '"Now is: "HH24:MI:SS');
              to_char
              ----------------
              Now is: 21:04:10
      
      FROM_CHAR() routine allow convert text to a datetime:
      
              SELECT FROM_CHAR('September 1999 10:20:30', 'FMMonth YYYY
      HH:MI:SS');
              from_char
              -----------------------------
              Wed Sep 01 10:20:30 1999 CEST
      
      TO_DATE() is equal with FROM_CHAR(), but output a Date only:
      
              SELECT TO_DATE('September 1999 10:20:30', 'FMMonth YYYY
      HH:MI:SS');
              to_date
              ----------
              09-01-1999
      
      
      In attache is compressed dir for the contrib. All is prepared, but I'am
      not
      sure if Makefile is good (probably yes).
      
      Comments & suggestions ?
      
      
      Thomas, thank you for your good advices.
      
                                                              Karel
      
      
      ------------------------------------------------------------------------------
      
      Karel Zak <zakkr@zf.jcu.cz>
      http://home.zf.jcu.cz/~zakkr/
      1c5aec60
  29. 11 Oct, 1999 1 commit
  30. 09 Oct, 1999 1 commit
  31. 05 Jun, 1999 1 commit
  32. 10 May, 1999 1 commit
  33. 03 Oct, 1998 1 commit