pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: shreedhar <shreedhar@lucidindia.net>
To: Postgre Admin <pgsql-admin@postgresql.org>
To: Postgre General <pgsql-general@postgresql.org>
Subject: Warning: PostgreSQL query failed
Date: Mon, 22 Sep 2003 16:14:20 +0530
Message-ID: <016901c380f6$7b115730$1201a8c0@a4005> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <016901c380f6$7b115730$1201a8c0@a4005>
Permalink:  ../016901c380f6$7b115730$1201a8c0@a4005/
Also on:    postgresql.org/message-id/016901c380f6$7b115730$1201a8c0@a4005

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: shreedhar@lucidindia.net, pgsql-general@postgresql.org
  Subject: Re: Warning: PostgreSQL query failed
  In-Reply-To: <016901c380f6$7b115730$1201a8c0@a4005>
  References: <016901c380f6$7b115730$1201a8c0@a4005>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox