1. 01 Jun, 2001 9 commits
    • Tom Lane's avatar
      Check for malloc failure. · d8adce89
      Tom Lane authored
      d8adce89
    • Tom Lane's avatar
    • Tom Lane's avatar
      pltcl, plperl, and plpython all suffer the same bug previously fixed · 7748e9e7
      Tom Lane authored
      in plpgsql: they fail for datatypes that have old-style I/O functions
      due to caching FmgrInfo structs with wrong fn_mcxt lifetime.
      
      Although the plpython fix seems straightforward, I can't check it here
      since I don't have Python installed --- would someone check it?
      7748e9e7
    • Tom Lane's avatar
      New improved version of bpcharin() may have got the truncation case · 7c0c9b3c
      Tom Lane authored
      right, but it failed to get the padding case right.
      
      This was obscured by subsequent application of bpchar() in all but one
      regression test case, and that one didn't fail in an obvious way ---
      trailing blanks are hard to see.  Add another test case to make it
      more obvious if it breaks again.
      7c0c9b3c
    • Bruce Momjian's avatar
      Fix for: · 597ca67e
      Bruce Momjian authored
      > Example form two pg_dump outputs
      > 7.1.2 :
      >       COPY "list"  FROM stdin;
      > 7.0.2 :
      >       COPY "list" FROM stdin;
      597ca67e
    • Tom Lane's avatar
      Remove fastpath.c's lame attempt at caching function lookup info across · a51ec450
      Tom Lane authored
      calls.  This has never actually cached anything, because postgres.c does
      each fastpath call as a separate transaction command, and so fastpath.c
      would always decide that its cache was outdated.  If it had worked, it
      would now be failing for calls of oldstyle functions due to dangling
      pointers in the FmgrInfo struct.  Rip it out for simplicity and bug-
      proofing.
      a51ec450
    • Michael Meskes's avatar
      - Synced preproc.y with gram.y. · cfd18437
      Michael Meskes authored
              - Synced pgc.l with scan.l.
              - Synced keyword.c.
              - Set ecpg version to 2.9.0.
              - Set library version to 3.3.0.
      cfd18437
    • Tom Lane's avatar
      Clean up some minor problems exposed by further thought about Panon's bug · 0b370ea7
      Tom Lane authored
      report on old-style functions invoked by RI triggers.  We had a number of
      other places that were being sloppy about which memory context FmgrInfo
      subsidiary data will be allocated in.  Turns out none of them actually
      cause a problem in 7.1, but this is for arcane reasons such as the fact
      that old-style triggers aren't supported anyway.  To avoid getting burnt
      later, I've restructured the trigger support so that we don't keep trigger
      FmgrInfo structs in relcache memory.  Some other related cleanups too:
      it's not really necessary to call fmgr_info at all while setting up
      the index support info in relcache entries, because those ScanKeyEntry
      structs are never used to invoke the functions.  This should speed up
      relcache initialization a tiny bit.
      0b370ea7
    • Bruce Momjian's avatar
      Update release 1.09 date · a1d9d096
      Bruce Momjian authored
      a1d9d096
  2. 31 May, 2001 7 commits
  3. 30 May, 2001 24 commits