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

Re: Bug #956: plperl vs. plperlu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bhuvansql(at)myrealbox(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #956: plperl vs. plperlu
Date: 2003-04-26 15:23:26
Message-ID: 29387.1051370606@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
pgsql-bugs(at)postgresql(dot)org writes:
> FYI, in 7.3.2, we are unable to create two languages viz, plperl and
> plperlu

Wups.  There is code in there to handle that case, but it got broken by
a last-minute 7.3 change.  Here's the patch.

			regards, tom lane


*** src/bin/scripts/createlang.sh~	Fri Oct 18 18:05:36 2002
--- src/bin/scripts/createlang.sh	Sat Apr 26 11:19:05 2003
***************
*** 256,262 ****
  # ----------
  # Check whether the call handler exists
  # ----------
! sqlcmd="SELECT oid FROM pg_proc WHERE proname = '$handler' AND prorettype = 0 AND pronargs = 0;"
  if [ "$showsql" = yes ]; then
  	echo "$sqlcmd"
  fi
--- 256,262 ----
  # ----------
  # Check whether the call handler exists
  # ----------
! sqlcmd="SELECT oid FROM pg_proc WHERE proname = '$handler' AND prorettype = (SELECT oid FROM pg_type WHERE typname = 'language_handler') AND pronargs = 0;"
  if [ "$showsql" = yes ]; then
  	echo "$sqlcmd"
  fi


In response to

Responses

pgsql-bugs by date

Next:From: Chris BowlbyDate: 2003-04-26 16:30:40
Subject: pg_dump core dumping
Previous:From: pgsql-bugsDate: 2003-04-26 11:47:25
Subject: Bug #956: plperl vs. plperlu

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