Skip to content
Snippets Groups Projects
  1. Aug 25, 1998
    • Bruce Momjian's avatar
      Can someone please apply this portability patch to genbki.sh ? · 1682c362
      Bruce Momjian authored
      (Mark or Bruce?) It fixes a problem when cpp gives a warning when
      precompiling /dev/null like:  "/dev/null", line 1: 1506-229 (W)
      File is empty.  This leads to a hangup when doing the description
      load during initdb, since stderr also ends up in the global1.description
      and local1_template1.description
      
      stderr has to be redirected to /dev/null:
      
      Andreas Zeugswetter
      1682c362
  2. Apr 21, 1998
  3. Apr 20, 1998
  4. Apr 06, 1998
    • Bruce Momjian's avatar
      Hi, · 1e801a8f
      Bruce Momjian authored
      Attached you'll find a (big) patch that fixes make dep and make
      depend in all Makefiles where I found it to be appropriate.
      
      It also removes the dependency in Makefile.global for NAMEDATALEN
      and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
      a little smarter.
      
      This no longer requires initdb.sh that is turned into initdb with
      a sed script when installing Postgres, hence initdb.sh should be
      renamed to initdb (after the patch has been applied :-) )
      
      This patch is against the 6.3 sources, as it took a while to
      complete.
      
      Please review and apply,
      
      Cheers,
      
      Jeroen van Vianen
      1e801a8f
  5. Nov 13, 1997
  6. Sep 06, 1997
  7. Sep 25, 1996
  8. Aug 26, 1996
  9. Aug 24, 1996
  10. Aug 21, 1996
    • Marc G. Fournier's avatar
      Here's a patch for Versions 1 and 2 that fixes the following bug: · 5e773a4f
      Marc G. Fournier authored
      When you try to do any UPDATE of the catalog class pg_class, such as
      to change ownership of a class, the backend crashes.
      
      This is really two serial bugs: 1) there is a hardcoded copy of the
      schema of pg_class in the postgres program, and it doesn't match the
      actual class that initdb creates in the database; 2) Parts of postgres
      determine whether to pass an attribute value by value or by reference
      based on the attbyval attribute of the attribute in class
      pg_attribute.  Other parts of postgres have it hardcoded.  For the
      relacl[] attribute in class pg_class, attbyval does not match the
      hardcoded expectation.
      
      The fix is to correct the hardcoded schema for pg_attribute and to
      change the fetchatt macro so it ignores attbyval for all variable
      length attributes.  The fix also adds a bunch of logic documentation and
      extends genbki.sh so it allows source files to contain such documentation.
      
      --
      Bryan Henderson                                    Phone 408-227-6803
      San Jose, California
      5e773a4f
  11. Aug 19, 1996
    • Marc G. Fournier's avatar
      Added a SVR4 port · 926a066d
      Marc G. Fournier authored
      ```yaml:frontmatter
      
      below my signature, there are a coupls of diffs and files in a shell
      archive, which were needed to build postgres95 1.02 on Siemens Nixdorfs
      MIPS based SINIX systems. Except for the compiler switches "-W0" and
      "-LD-Blargedynsym" these diffs should also apply for other SVR4 based
      systems. The changes in "Makefile.global" and "genbki.sh" can probably
      be ignored (I needed gawk, to make the script run).
      
      There is one bugfix thou. In "src/backend/parser/sysfunc.c" the
      function in this file didn't honor the EUROPEAN_DATES ifdef.
      
      ```
      
      Submitted by:  Frank Ridderbusch <ridderbusch.pad@sni.de>
      926a066d
  12. Jul 09, 1996
Loading