Skip to content
Snippets Groups Projects
  1. Sep 13, 2003
  2. Sep 11, 2003
  3. May 26, 2003
    • Tom Lane's avatar
      Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing · f45df8c0
      Tom Lane authored
      blanks, in hopes of reducing the surprise factor for newbies.  Remove
      redundant operators for VARCHAR (it depends wholly on TEXT operations now).
      Clean up resolution of ambiguous operators/functions to avoid surprising
      choices for domains: domains are treated as equivalent to their base types
      and binary-coercibility is no longer considered a preference item when
      choosing among multiple operators/functions.  IsBinaryCoercible now correctly
      reflects the notion that you need *only* relabel the type to get from type
      A to type B: that is, a domain is binary-coercible to its base type, but
      not vice versa.  Various marginal cleanup, including merging the essentially
      duplicate resolution code in parse_func.c and parse_oper.c.  Improve opr_sanity
      regression test to understand about binary compatibility (using pg_cast),
      and fix a couple of small errors in the catalogs revealed thereby.
      Restructure "special operator" handling to fetch operators via index opclasses
      rather than hardwiring assumptions about names (cleans up the pattern_ops
      stuff a little).
      f45df8c0
  4. May 14, 2003
  5. Mar 20, 2003
  6. Oct 18, 2002
  7. Aug 26, 2002
    • Tom Lane's avatar
      Modify array operations to include array's element type OID in the · 5cabcfcc
      Tom Lane authored
      array header, and to compute sizing and alignment of array elements
      the same way normal tuple access operations do --- viz, using the
      tupmacs.h macros att_addlength and att_align.  This makes the world
      safe for arrays of cstrings or intervals, and should make it much
      easier to write array-type-polymorphic functions; as examples see
      the cleanups of array_out and contrib/array_iterator.  By Joe Conway
      and Tom Lane.
      5cabcfcc
  8. Aug 04, 2002
  9. Mar 06, 2002
    • Bruce Momjian's avatar
      Change made to elog: · 92288a1c
      Bruce Momjian authored
      o  Change all current CVS messages of NOTICE to WARNING.  We were going
      to do this just before 7.3 beta but it has to be done now, as you will
      see below.
      
      o Change current INFO messages that should be controlled by
      client_min_messages to NOTICE.
      
      o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
      to always go to the client.
      
      o Remove INFO from the client_min_messages options and add NOTICE.
      
      Seems we do need three non-ERROR elog levels to handle the various
      behaviors we need for these messages.
      
      Regression passed.
      92288a1c
  10. Oct 25, 2001
  11. Sep 06, 2001
  12. Jun 18, 2001
    • Bruce Momjian's avatar
      The attached patch enables the contrib subtree to build cleanly under · 558fae16
      Bruce Momjian authored
      Cygwin with the possible exception of mSQL-interface.  Since I don't
      have mSQL installed, I skipped this tool.
      
      Except for dealing with a missing getopt.h (oid2name) and HUGE (seg),
      the bulk of the patch uses the standard PostgreSQL approach to deal with
      Windows DLL issues.
      
      I tested the build aspect of this patch under Cygwin and Linux without
      any ill affects.  Note that I did not actually attempt to test the code
      for functionality.
      
      The procedure to apply the patch is as follows:
      
          $ # save the attachment as /tmp/contrib.patch
          $ # change directory to the top of the PostgreSQL source tree
          $ patch -p0 </tmp/contrib.patch
      
      Jason
      558fae16
  13. Feb 20, 2001
  14. Dec 28, 2000
    • Tom Lane's avatar
      Fix portability problems recently exposed by regression tests on Alphas. · 8609d4ab
      Tom Lane authored
      1. Distinguish cases where a Datum representing a tuple datatype is an OID
      from cases where it is a pointer to TupleTableSlot, and make sure we use
      the right typlen in each case.
      2. Make fetchatt() and related code support 8-byte by-value datatypes on
      machines where Datum is 8 bytes.  Centralize knowledge of the available
      by-value datatype sizes in two macros in tupmacs.h, so that this will be
      easier if we ever have to do it again.
      8609d4ab
  15. Nov 16, 2000
  16. Oct 20, 2000
  17. Jul 22, 2000
    • Tom Lane's avatar
      Arrays are toastable. (At least if you initdb, which I didn't force.) · d0e17e21
      Tom Lane authored
      Remove a bunch of crufty code for large-object-based arrays, which is
      superseded by TOAST and likely hasn't worked in a long time anyway.
      Clean up array code a little, and in particular eliminate its habit
      of scribbling on the input array (ie, modifying the input tuple :-().
      d0e17e21
  18. Jul 09, 2000
    • Peter Eisentraut's avatar
      Another round of those unportable config/build changes :-/ · 74618e2b
      Peter Eisentraut authored
      * Add option to build with OpenSSL out of the box. Fix thusly exposed
        bit rot. Although it compiles now, getting this to do something
        useful is left as an exercise.
      
      * Fix Kerberos options to defer checking for required libraries until
        all the other libraries are checked for.
      
      * Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc.
      
      * Install work around for Autoconf's install-sh relative path anomaly.
        Get rid of old INSTL_*_OPTS variables, now that we don't need them
        anymore.
      
      * Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX.
      
      * Look for only one of readline.h or readline/readline.h, not both.
      
      * Make check for PS_STRINGS cacheable. Don't test for the header files
        separately.
      
      * Disable fcntl(F_SETLK) test on Linux.
      
      * Substitute the standard GCC warnings set into CFLAGS in configure,
        don't add it on in Makefile.global.
      
      * Sweep through contrib tree to teach makefiles standard semantics.
      
      ... and in completely unrelated news:
      
      * Make postmaster.opts arbitrary options-aware. I still think we need to
        save the environment as well.
      74618e2b
  19. Jul 04, 2000
  20. Jun 19, 2000
  21. Jun 16, 2000
  22. Jun 15, 2000
  23. May 29, 2000
  24. Apr 16, 2000
  25. Apr 12, 2000
  26. Feb 13, 2000
    • Bruce Momjian's avatar
      contrib-array.patch · a2226ad2
      Bruce Momjian authored
              this is an old patch which I have already submitted and never seen
              in the sources. It corrects the datatype oids used in some iterator
              functions. This bug has been reported to me by many other people.
      
      contrib-datetime.patch
      
              some code contributed by Reiner Dassing <dassing@wettzell.ifag.de>
      
      contrib-makefiles.patch
      
              fixes all my contrib makefiles which don't work with some compilers,
              as reported to me by another user.
      
      contrib-miscutil.patch
      
              an old patch for one of my old contribs.
      
      contrib-string.patch
      
              a small change to the c-like text output functions. Now the '{'
              is escaped only at the beginning of the string to distinguish it
              from arrays, and the '}' is no more escaped.
      
      elog-lineno.patch
      
              adds the current lineno of CopyFrom to elog messages. This is very
              useful when you load a 1 million tuples table from an external file
              and there is a bad value somehere. Currently you get an error message
              but you can't know where is the bad data. The patch uses a variable
              which was declared static in copy.c. The variable is now exported
              and initialized to 0. It is always cleared at the end of the copy
              or at the first elog message or when the copy is canceled.
              I know this is very ugly but I can't find any better way of knowing
              where the copy fails and I have this problem quite often.
      
      plperl-makefile.patch
      
              fixes a typo in a makefile, but the error must be elsewhere because
              it is a file generated automatically. Please have a look.
      
      tprintf-timestamp.patch
      
              restores the original 2-digit year format, assuming that the two
              century digits don't carry much information and that '000202' is
              easier to read than 20000202. Being only a log file it shouldn't
              break anything.
      
      Please apply the patches before the next scheduled code freeze.
      
      I also noticed that some of the contribs don't compile correcly. Should we
      ask people to fix their code or rename their makefiles so that they are
      ignored by the top makefile?
      
      --
      Massimo Dal Zotto
      a2226ad2
  27. Sep 27, 1999
  28. Jun 05, 1999
    • Bruce Momjian's avatar
      Hi, · 27b81439
      Bruce Momjian authored
      I have updated my contrib code for version 6.5. In the attachment you will
      find the directories array, datetime, miscutil, string, tools and userlocks
      which replace the corresponding directories under contrib.
      
      In contrib/tools you will find some developement scripts which I use while
      hacking the sources. I hope they will be useful for some other people.
      
      I have also added a contrib/Makefile which tries to compile and install all
      the contribs. Unfortunately many of them don't have a Makefile or don't
      compile cleanly.
      
      --
      Massimo Dal Zotto
      27b81439
  29. May 25, 1999
  30. Mar 16, 1999
  31. Jan 21, 1999
  32. Aug 30, 1998
    • Marc G. Fournier's avatar
      · eec4c736
      Marc G. Fournier authored
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      
      Here is a tar file the new directories, which substitute the old ones
      in contrib. Please remove the old directories array, datetime, miscutil,
      string and userlock before unpacking the tar file in contrib.
      
      Note that as the modules are now installed in lib/modules I install all
      my sql code in lib/sql. In my opinion also the other contributors should
      follow these rules.
      eec4c736
  33. Jun 15, 1998
  34. Apr 22, 1998
    • Marc G. Fournier's avatar
      From: Jun Kuwamura <juk@rccm.co.jp> · 5b4b3d56
      Marc G. Fournier authored
        This patch fix the Makefiles in contrib/{pginterface, spi,
      miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
      array, datetime} to install their modules in one directory(lib/modules/).
      5b4b3d56
  35. Feb 26, 1998
  36. Jan 06, 1998
Loading