Put in a new FAQ
Merged in Dr. George's src/bin tree (possibly broke monitor/psql in process)
This commit is contained in:
parent
d1724d65b7
commit
be5bfd54f2
|
@ -7,24 +7,29 @@
|
|||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.1.1.1 1996/07/09 06:22:11 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.2 1996/07/23 03:01:58 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
MKDIR=../mk
|
||||
-include $(MKDIR)/../Makefile.global
|
||||
|
||||
#
|
||||
# C programs
|
||||
#
|
||||
SUBDIR= monitor pg_id pg_version psql pg_dump
|
||||
|
||||
#
|
||||
# Shell scripts
|
||||
#
|
||||
SUBDIR+= cleardbdir createdb createuser destroydb destroyuser initdb
|
||||
|
||||
#
|
||||
# TCL/TK programs
|
||||
#
|
||||
ifeq ($(USE_TCL), true)
|
||||
SUBDIR += pgtclsh
|
||||
endif
|
||||
|
||||
#
|
||||
# Shell scripts
|
||||
#
|
||||
SUBDIR+= cleardbdir createdb createuser destroydb destroyuser initdb
|
||||
|
||||
|
||||
include ../mk/postgres.subdir.mk
|
||||
include $(MKDIR)/postgres.subdir.mk
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.3 1996/07/20 07:33:36 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.4 1996/07/23 03:03:19 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
@ -33,10 +33,6 @@ FILESDIR=$PGDATA/files
|
|||
PATH=$BINDIR:$PATH
|
||||
export PATH
|
||||
|
||||
# OPENLINK Added an fsync option to postmaster
|
||||
# REQUIRES: pg95 compiled with -DOPENLINK_PATCHES, see README_OPENLINK
|
||||
# FSYNC=-F
|
||||
|
||||
CMDNAME=`basename $0`
|
||||
|
||||
# ----------------
|
||||
|
@ -63,9 +59,9 @@ done
|
|||
# ----------------
|
||||
if test "$debug" -eq 1
|
||||
then
|
||||
BACKENDARGS="-boot -C $FSYNC -d"
|
||||
BACKENDARGS="-boot -C -F -d"
|
||||
else
|
||||
BACKENDARGS="-boot -C $FSYNC -Q"
|
||||
BACKENDARGS="-boot -C -F -Q"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -220,9 +216,7 @@ then
|
|||
echo "vacuuming template1"
|
||||
fi
|
||||
|
||||
echo "vacuum" | postgres $FSYNC -Q template1 > /dev/null
|
||||
echo "vacuum" | postgres -F -Q template1 > /dev/null
|
||||
fi
|
||||
|
||||
rm -f /tmp/create.$$
|
||||
|
||||
sync
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/monitor/Attic/monitor.c,v 1.4 1996/07/23 02:26:41 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/monitor/Attic/monitor.c,v 1.5 1996/07/23 03:03:24 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -20,7 +20,7 @@
|
|||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef PORTNAME_sparc_solaris
|
||||
#if defined(PORTNAME_sparc_solaris) || defined(PORTNAME_i386_solaris)
|
||||
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
|
||||
#ifdef PORTNAME_sparc_solaris
|
||||
#if defined(PORTNAME_sparc_solaris) || defined(PORTNAME_i386_solaris)
|
||||
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
|
||||
#endif
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
|
||||
#ifdef PORTNAME_sparc_solaris
|
||||
#if defined(PORTNAME_sparc_solaris) || defined(PORTNAME_i386_solaris)
|
||||
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
|
||||
#endif
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.1.1.1 1996/07/09 06:22:15 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.2 1996/07/23 03:03:36 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
@ -15,7 +15,7 @@ MKDIR= ../../mk
|
|||
include $(MKDIR)/postgres.mk
|
||||
include ../Makefile.global
|
||||
|
||||
CFLAGS+= -I$(TCL_INCDIR) -I$(TK_INCDIR)
|
||||
CFLAGS+= -I$(TCL_INCDIR) -I$(TK_INCDIR) -I$(X11_INCDIR) -I$(srcdir)/libpgtcl
|
||||
|
||||
# try to find libpgtcl.a in either directory
|
||||
LIBPGTCL= -L$(srcdir)/libpgtcl/$(objdir) -L$(LIBDIR) -lpgtcl
|
||||
|
@ -26,7 +26,7 @@ pgtclsh: $(objdir)/pgtclAppInit.o
|
|||
|
||||
pgtksh: $(objdir)/pgtkAppInit.o
|
||||
$(CC) $(CDEBUG) -o $(objdir)/$(@F) $(objdir)/pgtkAppInit.o \
|
||||
$(LIBPGTCL) $(LIBPQ) -L$(TCL_LIBDIR) -L$(TK_LIBDIR) \
|
||||
$(LIBPGTCL) $(LIBPQ) -L$(TCL_LIBDIR) -L$(TK_LIBDIR) -L$(X11_LIBDIR) \
|
||||
$(TK_LIB) $(TCL_LIB) -lX11 -lm $(LD_ADD)
|
||||
|
||||
install:: localobj pgtclsh pgtksh
|
||||
|
|
|
@ -109,6 +109,11 @@ Tcl_AppInit(interp)
|
|||
* then no user-specific startup file will be run under any conditions.
|
||||
*/
|
||||
|
||||
#if (TCL_MAJOR_VERSION <= 7) && (TCL_MINOR_VERSION < 5)
|
||||
tcl_RcFileName = "~/.tclshrc";
|
||||
#else
|
||||
Tcl_SetVar(interp, "tcl_rcFileName", "~/.tclshrc", TCL_GLOBAL_ONLY);
|
||||
#endif
|
||||
|
||||
return TCL_OK;
|
||||
}
|
||||
|
|
|
@ -112,6 +112,11 @@ Tcl_AppInit(interp)
|
|||
* then no user-specific startup file will be run under any conditions.
|
||||
*/
|
||||
|
||||
#if (TCL_MAJOR_VERSION <= 7) && (TCL_MINOR_VERSION < 5)
|
||||
tcl_RcFileName = "~/.wishrc";
|
||||
#else
|
||||
Tcl_SetVar(interp, "tcl_rcFileName", "~/.wishrc", TCL_GLOBAL_ONLY);
|
||||
#endif
|
||||
|
||||
return TCL_OK;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue