Re: Calling a PostgreSQL function via DBI




Bitte kannst du das probieren fuer spass? ( English: Could you just
try this for fun :)

$arg5 = "\'2001-11-11 11:11:11\'" . "::timestamp";

Was werde denn passiert? (what would happen then? )

The same effect,
this is the dump on the website:

Software error:

[quote]
Abfrage nicht ausfuehrbar -suchprofil! FEHLER: Spalte »startzeit« hat Typ
timestamp without time zone, aber der Ausdruck hat Typ text
HINT: Sie müssen den Ausdruck umschreiben oder eine Typumwandlung
vornehmen.
CONTEXT: SQL-Anweisung »INSERT INTO auktionen ( kid, name, beschreibung,
startzeit, endzeit, startpreis, preis, katid ) VALUES ( $1 , $2 , $3 ,
$4 , $5 , $6 , $7 , $8 )«
PL/pgSQL function "neue_auktion" line 13 at SQL statement
[/quote]

Is it something wrong with the function? But it works with psql!

Ich habe zwei semestern Duetsch gelmacht bei die Universitait. Meine
frau ist high school Deutsch lehrerin.

Ahh, ok. Thats explains a lot. :-)

Gruss Christian


--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
.