1. 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
  2. 25 Apr, 2002 1 commit
  3. 21 Aug, 2001 1 commit
    • Tom Lane's avatar
      Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in · f933766b
      Tom Lane authored
      pgsql-hackers.  pg_opclass now has a row for each opclass supported by each
      index AM, not a row for each opclass name.  This allows pg_opclass to show
      directly whether an AM supports an opclass, and furthermore makes it possible
      to store additional information about an opclass that might be AM-dependent.
      pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we
      previously expected the user to remember to provide in CREATE INDEX commands.
      Lossiness is no longer an index-level property, but is associated with the
      use of a particular operator in a particular index opclass.
      
      Along the way, IndexSupportInitialize now uses the syscaches to retrieve
      pg_amop and pg_amproc entries.  I find this reduces backend launch time by
      about ten percent, at the cost of a couple more special cases in catcache.c's
      IndexScanOK.
      
      Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane.
      
      initdb forced.
      f933766b
  4. 10 Aug, 2001 1 commit
    • Tom Lane's avatar
      Make OIDs optional, per discussions in pghackers. WITH OIDS is still the · bf56f075
      Tom Lane authored
      default, but OIDS are removed from many system catalogs that don't need them.
      Some interesting side effects: TOAST pointers are 20 bytes not 32 now;
      pg_description has a three-column key instead of one.
      
      Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey
      has some usefulness; pg_dump dumps comments on indexes, rules, and
      triggers in a valid order.
      
      initdb forced.
      bf56f075
  5. 22 Mar, 2001 1 commit
  6. 10 Feb, 2001 1 commit
  7. 18 May, 2000 1 commit
  8. 28 Apr, 2000 2 commits
  9. 22 Jan, 2000 1 commit
  10. 25 May, 1999 1 commit
  11. 26 Mar, 1999 1 commit
  12. 14 Sep, 1998 1 commit
  13. 11 Aug, 1998 3 commits