1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Can you please apply the following patch to current CVS

to make AIX'ers happy with the changes to the version.o ?

Together with the patch I sent Tom, AIX now regresses ok.

Thanx
Andreas
This commit is contained in:
Bruce Momjian
2000-07-12 18:04:47 +00:00
parent 648677c3a2
commit dce43d22f0
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.26 2000/07/04 06:11:47 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.27 2000/07/12 18:04:45 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -107,6 +107,7 @@ remove_all_temp_relations(void)
next = lnext(l); /* do this first, l is deallocated */ next = lnext(l); /* do this first, l is deallocated */
/* Indexes are dropped during heap drop */
if (temp_rel->relkind != RELKIND_INDEX) if (temp_rel->relkind != RELKIND_INDEX)
{ {
char relname[NAMEDATALEN]; char relname[NAMEDATALEN];
@ -115,8 +116,6 @@ remove_all_temp_relations(void)
strcpy(relname, temp_rel->user_relname); strcpy(relname, temp_rel->user_relname);
heap_drop_with_catalog(relname, allowSystemTableMods); heap_drop_with_catalog(relname, allowSystemTableMods);
} }
else
index_drop(temp_rel->relid);
l = next; l = next;
} }

View File

@ -15,7 +15,7 @@ MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
$(POSTGRES_IMP): $(POSTGRES_IMP):
@echo Making $@ @echo Making $@
$(MKLDEXPORT) postgres $(BINDIR) > $@ $(MKLDEXPORT) postgres $(BINDIR) > $@
$(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS) $(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) $(LDFLAGS)
%$(EXPSUFF): %$(EXPSUFF):
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF) $(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)