Re: [HACKERS] encoding problem - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] encoding problem
Date
Msg-id 199808310640.PAA01229@srapc451.sra.co.jp
Whole thread Raw
Responses Re: [HACKERS] encoding problem  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> >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


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] encoding problem
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] odd pg_dump output?