Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdce43d2

Browse files
committed
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.ThanxAndreas
1 parent648677c commitdce43d2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

‎src/backend/utils/cache/temprel.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.26 2000/07/04 06:11:47 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.27 2000/07/12 18:04:45 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -107,6 +107,7 @@ remove_all_temp_relations(void)
107107

108108
next=lnext(l);/* do this first, l is deallocated */
109109

110+
/* Indexes are dropped during heap drop */
110111
if (temp_rel->relkind!=RELKIND_INDEX)
111112
{
112113
charrelname[NAMEDATALEN];
@@ -115,8 +116,6 @@ remove_all_temp_relations(void)
115116
strcpy(relname,temp_rel->user_relname);
116117
heap_drop_with_catalog(relname,allowSystemTableMods);
117118
}
118-
else
119-
index_drop(temp_rel->relid);
120119

121120
l=next;
122121
}
@@ -235,7 +234,7 @@ invalidate_temp_relations(void)
235234
*
236235
* We also reject an attempt to rename a normal table to a name in use
237236
* as a temp table name. That would fail later on anyway when rename.c
238-
* looks for a rename conflict, but we can give a more specific error
237+
* looks for a rename conflict, but we can give a more specific error
239238
* message for the problem here.
240239
*
241240
* It might seem that we need to check for attempts to rename the physical

‎src/makefiles/Makefile.aix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
1515
$(POSTGRES_IMP):
1616
@echo Making $@
1717
$(MKLDEXPORT) postgres $(BINDIR) > $@
18-
$(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS)../utils/version.o$(LDFLAGS)
18+
$(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) $(LDFLAGS)
1919

2020
%$(EXPSUFF):
2121
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp