Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 59362475F00 for ; Tue, 14 Jan 2003 19:55:56 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id E938D475E20 for ; Tue, 14 Jan 2003 19:55:54 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h0F0tmL19325; Tue, 14 Jan 2003 19:55:48 -0500 (EST) From: Bruce Momjian Message-Id: <200301150055.h0F0tmL19325@candle.pha.pa.us> Subject: Re: pyPgSQL error In-Reply-To: To: Laurette Cisneros Date: Tue, 14 Jan 2003 19:55:48 -0500 (EST) Cc: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/69 X-Sequence-Number: 3569 Looks like you don't have plpgsql language installed in that database, or you did, and the file is now missing: > libpq.OperationalError: ERROR: stat failed on file > '/usr/local/pgsql-7.2/lib/plpgsql': No such file or directory --------------------------------------------------------------------------- Laurette Cisneros wrote: > > I'm using 7.2.3 and I've compile --with-python > > Anyone know what could cause this error when trying to delete a row in > python using pyPgSQL? > > Traceback (most recent call last): > File "./2_12_jobgen.py", line 497, in ? > job2db(dbConn,jobList,pathEntryList) > File "./2_12_jobgen.py", line 66, in job2db > curs.execute("""delete from jobsequences > File "/usr/local/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line > 2590, in execute raise OperationalError, msg > libpq.OperationalError: ERROR: stat failed on file > '/usr/local/pgsql-7.2/lib/plpgsql': No such file or directory > > Thanks, > > -- > Laurette Cisneros > The Database Group > (510) 420-3137 > NextBus Information Systems, Inc. > www.nextbus.com > ---------------------------------- > Life is an SQL old chum... > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073