Skip site navigation (1) Skip section navigation (2)

make createlang match docs

From: Marko Kreen <marko(at)l-t(dot)ee>
To: pgsql-patches(at)postgresql(dot)org
Subject: make createlang match docs
Date: 2001-12-12 09:19:01
Message-ID: 20011212091901.GA25540@l-t.ee (view raw or flat)
Thread:
Lists: pgsql-patches
* make createlang match docs: "createlang dbname" did not work.

-- 
marko


Index: src/bin/scripts/createlang.sh
===================================================================
RCS file: /opt/cvs2/pgsql/pgsql/src/bin/scripts/createlang.sh,v
retrieving revision 1.31
diff -u -c -r1.31 createlang.sh
*** src/bin/scripts/createlang.sh	30 Sep 2001 22:17:51 -0000	1.31
--- src/bin/scripts/createlang.sh	12 Dec 2001 09:16:20 -0000
***************
*** 108,118 ****
  		;;
  	 *)
   		if [ "$list" != "t" ]
! 		then	langname="$1"
  			if [ "$2" ]
  			then
  				shift
- 				dbname="$1"
  			fi
  		else	dbname="$1"
  		fi
--- 108,119 ----
  		;;
  	 *)
   		if [ "$list" != "t" ]
! 		then	dbname="$1"
  			if [ "$2" ]
  			then
+ 				langname="$1"
+ 				dbname="$2"
  				shift
  			fi
  		else	dbname="$1"
  		fi

Responses

pgsql-patches by date

Next:From: Joe ConwayDate: 2001-12-12 17:42:45
Subject: Re: [GENERAL] Using Cursor in PostgreSQL 7.2
Previous:From: Bruce MomjianDate: 2001-12-12 08:41:37
Subject: Re: Third call for platform testing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group