1. 26 1月, 2000 1 次提交
    • B
      as attache of this mail is patch (to the main tree) with to_char's · b866d2e2
      Bruce Momjian 提交于
      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
  2. 25 1月, 2000 6 次提交
  3. 24 1月, 2000 4 次提交
  4. 23 1月, 2000 11 次提交
  5. 22 1月, 2000 5 次提交
  6. 21 1月, 2000 11 次提交
  7. 20 1月, 2000 2 次提交
    • B
      Fix typo in \z. · e6ed9f2c
      Bruce Momjian 提交于
      e6ed9f2c
    • B
      I have noticed that the geometry test's output for hppa1 and hppa2 are in · 8792af75
      Bruce Momjian 提交于
      fact the same, so I suggest they could be the same file say
      geometry-positive-zeros.out, as the main difference seems to be not printing
      eg. (0,-0). In src/test/regress/expected, I propose
      
      rm int2-i386-netbsd.out int4-i386-netbsd.out
      mv geometry-hppa1.1.out geometry-positive-zeros.out
      rm geometry-hppa2.0.out geometry-i386-netbsd.out
      
      and the following patch to resultmap. I have only tested the netbsd results
      on i386, but think that in all probability the differences will be the same
      for other ports. If it turns out not to be the case, at least we might find
      out.
      
      Patrick Welche
      8792af75