From: Keith Parks <emkxp01@mtcc.demon.co.uk>
Subject: [PATCHES] Three small patches. Hi, Here are 3 small patches to the postgreSQL source sup'd on the 6th May 1997. The 1st 2 fix the shell backslash "c" handling used to suppress the newline on some unix shells. (The \c needs to be inside quote.) The 3rd may or may not be the correct way to fix the missing define of INDEX_MAX_KEYS in pg_dump.h
This commit is contained in:
parent
505a4709e2
commit
a5d7eb90a8
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.7 1996/11/17 03:54:54 bryanh Exp $
|
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.8 1997/05/07 02:59:46 scrappy Exp $
|
||||||
#
|
#
|
||||||
# Note - this should NOT be setuid.
|
# Note - this should NOT be setuid.
|
||||||
#
|
#
|
||||||
@ -96,7 +96,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "$NEWUSER" ]
|
if [ -z "$NEWUSER" ]
|
||||||
then
|
then
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Enter name of user to add ---> "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Enter name of user to add ---> _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read NEWUSER
|
read NEWUSER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ do
|
|||||||
fi
|
fi
|
||||||
while [ -z "$SYSID" ]
|
while [ -z "$SYSID" ]
|
||||||
do
|
do
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Enter user's postgres ID$DEFMSG -> "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Enter user's postgres ID$DEFMSG -> _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read SYSID
|
read SYSID
|
||||||
[ -z "$SYSID" ] && SYSID=$DEFSYSID;
|
[ -z "$SYSID" ] && SYSID=$DEFSYSID;
|
||||||
SYSIDISNUM=`echo $SYSID | egrep '^[0-9]+$'`
|
SYSIDISNUM=`echo $SYSID | egrep '^[0-9]+$'`
|
||||||
@ -173,7 +173,7 @@ yn=f
|
|||||||
|
|
||||||
while [ "$yn" != y -a "$yn" != n ]
|
while [ "$yn" != y -a "$yn" != n ]
|
||||||
do
|
do
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Is user \"$NEWUSER\" allowed to create databases (y/n) "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Is user \"$NEWUSER\" allowed to create databases (y/n) _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read yn
|
read yn
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ yn=f
|
|||||||
|
|
||||||
while [ "$yn" != y -a "$yn" != n ]
|
while [ "$yn" != y -a "$yn" != n ]
|
||||||
do
|
do
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Is user \"$NEWUSER\" allowed to add users? (y/n) "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Is user \"$NEWUSER\" allowed to add users? (y/n) _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read yn
|
read yn
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.6 1996/11/17 03:55:07 bryanh Exp $
|
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.7 1997/05/07 02:59:52 scrappy Exp $
|
||||||
#
|
#
|
||||||
# Note - this should NOT be setuid.
|
# Note - this should NOT be setuid.
|
||||||
#
|
#
|
||||||
@ -90,7 +90,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "$DELUSER" ]
|
if [ -z "$DELUSER" ]
|
||||||
then
|
then
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Enter name of user to delete ---> "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Enter name of user to delete ---> _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read DELUSER
|
read DELUSER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ then
|
|||||||
yn=f
|
yn=f
|
||||||
while [ $yn != y -a $yn != n ]
|
while [ $yn != y -a $yn != n ]
|
||||||
do
|
do
|
||||||
echo _fUnKy_DASH_N_sTuFf_ "Deleting user $DELUSER will destroy them. Continue (y/n)? "_fUnKy_BACKSLASH_C_sTuFf_
|
echo _fUnKy_DASH_N_sTuFf_ "Deleting user $DELUSER will destroy them. Continue (y/n)? _fUnKy_BACKSLASH_C_sTuFf_"
|
||||||
read yn
|
read yn
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: pg_dump.h,v 1.13 1997/05/06 05:20:21 vadim Exp $
|
* $Id: pg_dump.h,v 1.14 1997/05/07 02:59:59 scrappy Exp $
|
||||||
*
|
*
|
||||||
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
|
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
|
||||||
*
|
*
|
||||||
@ -15,6 +15,7 @@
|
|||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <catalog/pg_index.h>
|
||||||
|
|
||||||
/* The *Info data structures run-time C structures used to store
|
/* The *Info data structures run-time C structures used to store
|
||||||
system catalog information */
|
system catalog information */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user