encoding problem
Looks like the changes to createdb and pg_dumpall are causing some
problems.
It expects createdb -help to work, and it doesn't.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
Looks like the changes to createdb and pg_dumpall are causing some
problems.It expects createdb -help to work, and it doesn't.
Oops. I'll fix this.
--
Tatsuo Ishii
t-ishii@sra.co.jp
Import Notes
Reply to msg id not found: YourmessageofMon31Aug1998001250-0400.199808310412.AAA05095@candle.pha.pa.us | Resolved by subject fallback
Looks like the changes to createdb and pg_dumpall are causing some
problems.It expects createdb -help to work, and it doesn't.
Oops. I'll fix this.
Here are patches for bin/createdb/createdb.sh.
--
Tatsuo Ishii
t-ishii@sra.co.jp
-----------------------------------------------------------------
Index: createdb.sh
===================================================================
RCS file: /usr/local/cvsroot/pgsql/src/bin/createdb/createdb.sh,v
retrieving revision 1.10
diff -c -r1.10 createdb.sh
*** createdb.sh 1998/07/26 04:31:13 1.10
--- createdb.sh 1998/08/31 06:34:10
***************
*** 67,75 ****
if [ "$usage" ]; then
if [ -z "$MBENABLED" ];then
echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> [dbname]"
else
echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> -E <encoding> [dbname]"
! exit 1
fi
fi
--- 67,76 ----
if [ "$usage" ]; then
if [ -z "$MBENABLED" ];then
echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> [dbname]"
+ exit 1
else
echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> -E <encoding> [dbname]"
! exit 1
fi
fi
Import Notes
Reply to msg id not found: YourmessageofMon31Aug1998010637-0400.199808310506.BAA08320@candle.pha.pa.us | Resolved by subject fallback
Patch applied.
Looks like the changes to createdb and pg_dumpall are causing some
problems.It expects createdb -help to work, and it doesn't.
Oops. I'll fix this.
Here are patches for bin/createdb/createdb.sh.
--
Tatsuo Ishii
t-ishii@sra.co.jp----------------------------------------------------------------- Index: createdb.sh =================================================================== RCS file: /usr/local/cvsroot/pgsql/src/bin/createdb/createdb.sh,v retrieving revision 1.10 diff -c -r1.10 createdb.sh *** createdb.sh 1998/07/26 04:31:13 1.10 --- createdb.sh 1998/08/31 06:34:10 *************** *** 67,75 **** if [ "$usage" ]; then if [ -z "$MBENABLED" ];then echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> [dbname]" else echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> -E <encoding> [dbname]" ! exit 1 fi fi--- 67,76 ---- if [ "$usage" ]; then if [ -z "$MBENABLED" ];then echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> [dbname]" + exit 1 else echo "Usage: $CMDNAME -a <authtype> -h <server> -p <portnumber> -D <location> -E <encoding> [dbname]" ! exit 1 fi fi
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)