1. 09 Oct, 2002 4 commits
    • Bruce Momjian's avatar
      > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not · 33a6b67b
      Bruce Momjian authored
      > > > > found in the postmaster and not included from elsewhere)
      > >
      > > shared libs on AIX need to be able to resolve all symbols at linkage time.
      > > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
      > > executable.
      >
      > They are defined in backend/utils/mb/conv.c and declared in
      > include/mb/pg_wchar.h.  They're also linked into the
      > postmaster.  I don't see anything unusual.
      
      Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
      
      it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
      (all shlibs that are not postmaster loadable modules).
      
      Please apply to current (only affects AIX).
      
      The _LARGE_FILES problem is unfortunately still open, unless Peter
      has fixed it per his recent idea.
      
      Zeugswetter Andreas SB SD
      33a6b67b
    • Bruce Momjian's avatar
      > Alvaro Herrera <alvherre@atentus.com> writes: · ba8e20a6
      Bruce Momjian authored
      > > I'm looking at pg_dump/common.c:flagInhAttrs() and suspect that it can
      > > be more or less rewritten completely, and probably should to get rigth
      > > all the cases mentioned in the past attisinherited discussion.  Is this
      > > desirable for 7.3?  It can probably be hacked around and the rewrite
      > > kept for 7.4, but I think it will be much simpler after the rewrite.
      >
      > If it's a bug then it's fair game to fix in 7.3.  But keep in mind that
      > pg_dump has to behave at least somewhat sanely when called against older
      > servers ... will your rewrite behave reasonably if the server does not
      > offer attinhcount values?
      
      Nah.  I don't think it's worth it: I had forgotten that older versions
      should be supported.  I just left the code as is and added a
      version-specific test.
      
      This patch allows pg_dump to dump correctly local definition of columns.
      In particular,
      
      CREATE TABLE p1 (f1 int, f2 int);
      CREATE TABLE p2 (f1 int);
      CREATE TABLE c () INHERITS (p1, p2);
      ALTER TABLE ONLY p1 DROP COLUMN f1;
      CREATE TABLE p3 (f1 int);
      CREATE TABLE c2 (f1 int) INHERITS (p3);
      
      Will be dumped as
      CREATE TABLE p1 (f2 int);
      CREATE TABLE p2 (f1 int);
      CREATE TABLE c (f1 int) INHERITS (p1, p2);
      CREATE TABLE c2 (f1 int) INHERITS (p3);
      
      (Previous version will dump
      CREATE TABLE c () INHERITS (p1, p2)
      CREATE TABLE c2 () INHERITS (p3) )
      
      Alvaro Herrera
      ba8e20a6
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Add: · eb949720
      Bruce Momjian authored
      > 	o Allow SHOW of non-modifiable variables, like pg_controldata
      eb949720
  2. 08 Oct, 2002 4 commits
  3. 07 Oct, 2002 2 commits
  4. 06 Oct, 2002 1 commit
  5. 05 Oct, 2002 4 commits
  6. 04 Oct, 2002 7 commits
  7. 03 Oct, 2002 17 commits
  8. 02 Oct, 2002 1 commit