From: | Chris Hardie <chris(at)summersault(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | DBI w/Postgres |
Date: | 1998-09-04 21:58:36 |
Message-ID: | Pine.NEB.4.02.9809041658140.14497-100000@summersault.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
The setting: Postgres95, Perl 5.004, latest DBI with latest Postgres
driver
The problem: I'm going along fine inside my Perl script that is selecting
and updating a database, until we get to the updating part (I can select
just fine). With DBI_TRACE = 2, I see:
----------
dbd_st_execute
dbd_st_execute: statement = >update test set value_2 = 3<
PQcmdTuples (UPDATE) -- short input from serverSegmentation fault (core dumped)
----------
Gasp! The SQL statement works fine inside of psql, and it seems
reasonable that Postgres would only return a curt "UPDATE" as it does in
psql. I don't understand why DBI doesn't like this. Do you?
Thanks,
Chris
---------------------------------------------
Chris Hardie chris(at)summersault(dot)com
http://www.summersault.com/chris
magna vis veritatis
---------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Dev_Al | 1998-09-04 22:33:43 | Problems in create table ?? 6.3.2 |
Previous Message | Jeff Hoffmann | 1998-09-04 21:54:59 | help with a palloc error on FreeBSD |