Re: Calling a PostgreSQL function via DBI
- From: christian.stalp@xxxxxx (Christian Stalp)
- Date: Thu, 23 Feb 2006 22:56:48 +0100 (MET)
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
.
- Follow-Ups:
- Re: Calling a PostgreSQL function via DBI
- From: Louis Gonzales
- Re: Calling a PostgreSQL function via DBI
- From: Louis Gonzales
- Re: Calling a PostgreSQL function via DBI
- Prev by Date: RE: Slow Performance When Using DBI, otherwise Not
- Next by Date: Re: Calling a PostgreSQL function via DBI
- Previous by thread: RE: Calling a PostgreSQL function via DBI
- Next by thread: Re: Calling a PostgreSQL function via DBI
- Index(es):