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

Warning: PostgreSQL query failed

From: "shreedhar" <shreedhar(at)lucidindia(dot)net>
To: "Postgre Admin" <pgsql-admin(at)postgresql(dot)org>,"Postgre General" <pgsql-general(at)postgresql(dot)org>
Subject: Warning: PostgreSQL query failed
Date: 2003-09-22 10:44:20
Message-ID: 016901c380f6$7b115730$1201a8c0@a4005 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-general
Hi  All,

I am framing Insert statements using PHP from the following information

107-Flash 5cartoons and Games\SMARTSOUND\SOUNDFILES | File Folder | 0 |
02/02/2001 09:33:31 PM

107-Flash 5cartoons and Games\SMARTSOUND\SOUNDFILES\KICKIN'BACK.SDS |
OpenOffice.org 5.0 Chart | 13803564 | 11/22/2000 01:15:54 PM

as below.

If I execute, I am getting a warning message in between as follows. But data
has been inserted into the table.

insert into tblFile (filename, filesize, filetype, modifieddate, parentid,
catalogid) values ('SOUNDFILES', 0 , ' File Folder ', '02/02/2001 09:33:31
PM', 69454, 61)

Warning: PostgreSQL query failed: ERROR: parser: parse error at or near
"BACK" at character 53 in /usr/local/apache/htdocs/info/diskcat/database.inc
on line 48

insert into tblFile (filename, filesize, filetype, modifieddate, parentid,
catalogid) values ('KICKIN\'BACK.SDS', 13803564 , ' OpenOffice.org 5.0 Chart
', '11/22/2000 01:15:54 PM', 69455, 61)

How can I handle this warning message.

Regards,
Sreedhar Bhaskararaju



Responses

pgsql-admin by date

Next:From: Cornelia BoenigkDate: 2003-09-22 11:16:46
Subject: Re: [GENERAL] Warning: PostgreSQL query failed
Previous:From: Bob WheldonDate: 2003-09-22 08:19:21
Subject: unsubscribe

pgsql-general by date

Next:From: viktorDate: 2003-09-22 10:47:30
Subject: encoding and LIKE/ILIKE matching
Previous:From: Jean-Christian ImbeaultDate: 2003-09-22 08:18:28
Subject: Foreign key constraint accepted even when not same data type

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