1. 05 Apr, 2002 7 commits
    • Bruce Momjian's avatar
      I was tinkering with creating rules on views (so, for instance, one could · aab0b8f5
      Bruce Momjian authored
      insert on a view), and noticed that psql wouldn't show the list of rules
      set up on a view, like it does for tables.
      
      The fix was extremely simple, so I figured I'd share it.  Not sure what
      the standard is for communicating these things, so I've attached the diff
      file for /src/bin/psql/describe.c.
      
      Paul (?)
      aab0b8f5
    • Bruce Momjian's avatar
      Adds domain dumping support to pg_dump. · 9f207659
      Bruce Momjian authored
      Rod Taylor
      9f207659
    • Bruce Momjian's avatar
      When a macro is replaced by the preprocessor, pgc.l reaches a end of · 811f7df2
      Bruce Momjian authored
      file, which is not the actual end of the file. One side effect of that
      is that if you are i n a ifdef block, you get a wrong error telling you
      that a endif is missing.
      
      This patch corrects pgc.l and also adds a test of this problem to
      test1.pgc. To  convince you apply the patch to test1.pgc first then try
      to compile the test the n apply the patch to pgc.l.
      
      The patch moves the test of the scope of an ifdef block to the end of
      the file b eeing parsed, including all includes files, ... .
      
      Nicolas Bazin
      811f7df2
    • Bruce Momjian's avatar
      Looks like a small patch is needed as well to do the right thing on Linux. · 3cbe6b24
      Bruce Momjian authored
      The patch enables the mips2 ISA for the ll/sc operations, and then restores
      it when done.  The kernel/libc emulation code will take over on CPUs without
      ll/sc, and on CPUs with it, it'll use the operations provided by the CPU.
      
      Combined with the earlier fix (removing -mips2), postgresql builds again on
      mips and mipsel.  The patch is against 7.2-7.
      
      Oliver Elphick
      3cbe6b24
    • Tom Lane's avatar
      Undo not-so-hot decision to postpone insertion of default values into · b9ae55f2
      Tom Lane authored
      INSERT statements to the planner.  Taking it out of the parser was right
      (so that defaults don't get into stored rules), but it has to happen
      before rewrite rule expansion, else references to NEW.field behave
      incorrectly.  Accordingly, add a step to the rewriter to insert defaults
      just before rewrite-rule expansion.
      b9ae55f2
    • Bruce Momjian's avatar
      Mark as done: · c9d70e26
      Bruce Momjian authored
      > * -Add new pg_proc cachable settings to specify whether function can be
      c9d70e26
    • Tom Lane's avatar
      Divide functions into three volatility classes (immutable, stable, and · 4bdb4be6
      Tom Lane authored
      volatile), rather than the old cachable/noncachable distinction.  This
      allows indexscan optimizations in many places where we formerly didn't.
      Also, add a pronamespace column to pg_proc (it doesn't do anything yet,
      however).
      4bdb4be6
  2. 04 Apr, 2002 9 commits
  3. 03 Apr, 2002 3 commits
  4. 02 Apr, 2002 8 commits
  5. 01 Apr, 2002 9 commits
  6. 31 Mar, 2002 3 commits
  7. 30 Mar, 2002 1 commit