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

Re: Problem inserting a row containing GUIDs

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Kevin Crenshaw <kcrenshaw(at)viscient(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problem inserting a row containing GUIDs
Date: 2005-10-27 18:45:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
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

In response to


pgsql-novice by date

Next:From: kadilDate: 2005-10-28 07:49:59
Subject: Re: vacuuming and manu updates
Previous:From: John DeSoiDate: 2005-10-27 18:40:14
Subject: Re: Problem inserting a row containing GUIDs

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