Skip to content
Snippets Groups Projects
  1. Sep 03, 2002
  2. Sep 02, 2002
    • Bruce Momjian's avatar
      Add missing dblink files. · a02780ff
      Bruce Momjian authored
      a02780ff
    • Bruce Momjian's avatar
      Attached is a fairly sizeable update to contrib/dblink. I'd love to get · 7b8eb0b4
      Bruce Momjian authored
      review/feedback if anyone is interested and can spend the time. But I'd
      also love to get this committed and address changes as incremental
      patches ;-), so if there are no objections, please apply.
      
      Below I'll give a synopsis of the changes. More detailed descriptions
      are now in a new doc directory under contrib/dblink. There is also a new
      
      dblink.test.sql file which will give a pretty good overview of the
      functions and their use.
      
      Joe Conway
      7b8eb0b4
  3. 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
  4. Aug 02, 2002
    • Tom Lane's avatar
      ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, · 38bb77a5
      Tom Lane authored
      code review by Tom Lane.  Remaining issues: functions that take or
      return tuple types are likely to break if one drops (or adds!)
      a column in the table defining the type.  Need to think about what
      to do here.
      
      Along the way: some code review for recent COPY changes; mark system
      columns attnotnull = true where appropriate, per discussion a month ago.
      38bb77a5
  5. Jun 23, 2002
  6. May 27, 2002
  7. May 21, 2002
    • Tom Lane's avatar
      Restructure indexscan API (index_beginscan, index_getnext) per · 44fbe20d
      Tom Lane authored
      yesterday's proposal to pghackers.  Also remove unnecessary parameters
      to heap_beginscan, heap_rescan.  I modified pg_proc.h to reflect the
      new numbers of parameters for the AM interface routines, but did not
      force an initdb because nothing actually looks at those fields.
      44fbe20d
  8. Apr 24, 2002
    • Bruce Momjian's avatar
      Attached is an update to contrib/dblink. Please apply if there are no · 3bf6b8f0
      Bruce Momjian authored
      objections.
      
      Major changes:
         - removed cursor wrap around input sql to allow for remote
           execution of INSERT/UPDATE/DELETE
         - dblink now returns a resource id instead of a real pointer
         - added several utility functions
      
      I'm still hoping to add explicit cursor open/fetch/close support before
      7.3 is released, but I need a bit more time on that.
      
      On a somewhat unrelated topic, I never got any feedback on the
      unknownin/out patch and the mb_substring patch. Is there anything else I
      need to do to get those applied?
      
      Joe Conway
      3bf6b8f0
  9. Dec 13, 2001
  10. Nov 05, 2001
  11. Oct 28, 2001
  12. Oct 25, 2001
  13. Oct 15, 2001
  14. Sep 06, 2001
  15. Jun 20, 2001
    • Bruce Momjian's avatar
      Attached is a patch to deal with the ones that I missed the first time · 7aac048b
      Bruce Momjian authored
      around.  I tested this patch under Cygwin and Linux.
      
      Note that I only changed dblink's Makefile in the most minimal way
      to fix the link problem under Cygwin (i.e., use the link rule from
      Makefile.shlib instead).  dblink's Makefile should probably be further
      patched to be consistent with the other PostgreSQL Makefiles.
      
      Jason Tishler
      7aac048b
  16. 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
    • Bruce Momjian's avatar
      Here's a small patch for dblink: · 10b5f0be
      Bruce Momjian authored
         - fixed dblink invalid pointer causing corrupt elog message
         - fixed dblink_tok improper handling of null results
         - fixed examples in README.dblink
      
      Joe Conway
      10b5f0be
  17. Jun 14, 2001
Loading