Re: Problem inserting a row containing GUIDs - Mailing list pgsql-novice

From Kevin Crenshaw
Subject Re: Problem inserting a row containing GUIDs
Date
Msg-id 20051031181131.DC69BDB56F@svr1.postgresql.org
Whole thread Raw
In response to Re: Problem inserting a row containing GUIDs  (Michael Fuhr <mike@fuhr.org>)
List pgsql-novice
Thanks to everyone for replying to my question.  I recently installed the
TreeList control from DevExpress and the only time that I have the problem
is when I try to update the database using values that are modified by the
TreeList control.  If I submit the updates without using the control, the
update succeeds as expected.  I am currently working with DevExpress to find
a solution since it looks like it's their software that is causing the
problem.

Has anyone else had a problem making inserts or updates to a database while
using a DevExpress TreeList control that uses a string value in the
ParentField and KeyField properties?

Thanks again for your help,


kevin crenshaw


-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Michael Fuhr
Sent: Thursday, October 27, 2005 2:46 PM
To: Kevin Crenshaw
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] Problem inserting a row containing GUIDs

On Thu, Oct 27, 2005 at 10:29:51AM -0400, Kevin Crenshaw wrote:
> I am currently receiving an error message each time I try to insert a row.
> The row contains several GUID values, and when I try to do the insert I
get
> an error like 'Syntax error at or near 'a45'.  I've tried to enclose the
> GUIDs in quotes but I still get the error.

What's the exact insert statement?  A simple but complete test case
might reveal the problem.  That is, all SQL statements that somebody
could execute in an empty database to create a table and perform an
insert that fails as you describe.

> OS - Windows XP Pro SP2
> Postgresql v8.0.3
> Provider - NPGSQL

What's your code look like?  Have you tried the same insert using
psql or some other client?

--
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: PL/pgSQL Trigger - Variable for shema? Like TG_RELNAME
Next
From: Eric Faulhaber
Date:
Subject: Reverse order sort in multi-column indexes