1. 03 Mar, 2004 1 commit
  2. 04 Aug, 2003 1 commit
  3. 27 Jul, 2003 3 commits
    • Bruce Momjian's avatar
      Updatge to skip composite types. · 606debf2
      Bruce Momjian authored
      606debf2
    • Bruce Momjian's avatar
      51e46d14
    • Bruce Momjian's avatar
      Here is 4 file in tgz: · 524cfad2
      Bruce Momjian authored
      the new timetravel.c,
      new timetravel.README (cut from spi/README and modified),
      modified timetravel.sql.in
      and modified timetravel.example.
      
      Features:
      - optionally 3 parameter for insert/update/delete user name
      
      - work with CREATE UNIQUE INDEX ixxx on table xxx
      (unique_field,time_off);
          (the  original version was work with unique index on 6.5.0-6.5.3,
      and not work on 7.3.2,7.3.3)
           (before 6.5.0 and between 6.5.3 and 7.3.2 I dont know)
      
      - get_timetravel(tablename) function for check timetravel-status.
      
      - timetravel trigger not change  oid of the active record. (it is not a
      good feature, because the  old version is automatice prevent the paralel
      update with "where oid=nnn")
      
      B?jthe Zolt?n
      524cfad2
  4. 14 May, 2003 1 commit
  5. 10 Mar, 2003 1 commit
  6. 18 Oct, 2002 1 commit
  7. 15 Aug, 2002 1 commit
    • Bruce Momjian's avatar
      The attached patch changes most of the usages of sprintf() to · 66eb8df6
      Bruce Momjian authored
      snprintf() in contrib/. I didn't touch the places where pointer
      arithmatic was being used, or other areas where the fix wasn't
      trivial. I would think that few, if any, of the usages of sprintf()
      were actually exploitable, but it's probably better to be paranoid...
      
      Neil Conway
      66eb8df6
  8. 12 Jun, 2002 1 commit
  9. 05 Mar, 2002 1 commit
    • Bruce Momjian's avatar
      Currently, contrib/oid2name doesn't bother to free() the memory that it · 66cd6a0f
      Bruce Momjian authored
      malloc()'s. This isn't too serious (because oid2name is a short-lived
      utility, so the memory will soon be returned to the OS on process
      termination), but I still think it's poor style.
      
      This patch changes oid2name so that it allocates memory on the stack
      where possible and free()s the remaining heap-allocated memory. The
      patch also fixes a typo a comment and adds 'const' qualifiers to a few
      'char *' function parameters.
      
      Neil Conway
      66cd6a0f
  10. 25 Jan, 2002 1 commit
  11. 10 Jan, 2002 1 commit
  12. 15 Nov, 2001 1 commit
  13. 02 Oct, 2001 1 commit
  14. 18 Jun, 2001 1 commit
    • 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
  15. 22 Mar, 2001 1 commit
  16. 12 Feb, 2001 3 commits
  17. 24 Jan, 2001 3 commits