postgresql upgrade to 8.2.3, bringing in the server as well... this needs some data dir decisions to be made. to be discussed.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6915 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
pavlov
2007-04-09 23:25:36 +00:00
parent cc212d92f2
commit 580da2fd0c
6 changed files with 220 additions and 37 deletions

View File

@ -1,10 +1,10 @@
--- postgresql.old/src/port/Makefile Sun Oct 15 00:09:57 2006
+++ postgresql.dev/src/port/Makefile Sun Oct 15 00:10:05 2006
@@ -21,6 +21,7 @@
--- postgresql-8.2.3/src/port/Makefile 2006-07-14 11:45:43.000000000 -0500
+++ new-postgresql-8.2.3/src/port/Makefile 2007-04-09 12:14:11.906032000 -0500
@@ -43,6 +43,7 @@
libpgport.a: $(LIBOBJS)
$(AR) $(AROPT) $@ $^
+ $(RANLIB) libpgport.a
thread.o: thread.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CPPFLAGS) -c $<
$(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $<

View File

@ -1,10 +1,8 @@
diff -ruN postgresql-7.4.6-old/src/template/linux postgresql-7.4.6-new/src/template/linux
--- postgresql-7.4.6-old/src/template/linux 2003-10-09 18:52:45.000000000 +0200
+++ postgresql-7.4.6-new/src/template/linux 2005-04-13 03:12:49.000000000 +0200
@@ -1,5 +1,5 @@
--- postgresql-8.2.3/src/template/linux 2006-03-10 22:38:41.000000000 -0600
+++ new-postgresql-8.2.3/src/template/linux 2007-04-09 12:15:36.223301500 -0500
@@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
-CPPFLAGS="-D_GNU_SOURCE"
+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
THREAD_SUPPORT=yes
NEED_REENTRANT_FUNCS=yes # Debian kernel 2.2 2003-09-27

View File

@ -0,0 +1,13 @@
--- postgresql-8.2.3/src/bin/psql/print.h.old 2007-04-09 16:49:24.297992000 -0500
+++ postgresql-8.2.3/src/bin/psql/print.h 2007-04-09 16:49:40.983034750 -0500
@@ -88,10 +88,6 @@
void setDecimalLocale(void);
-#ifndef __CYGWIN__
-#define DEFAULT_PAGER "more"
-#else
#define DEFAULT_PAGER "less"
-#endif
#endif /* PRINT_H */