From: | Rob Brown-Bayliss <rob(at)zoism(dot)org> |
---|---|
To: | PostgreSQL General List <pgsql-general(at)postgresql(dot)org>, Pypgsql List <pypgsql-users(at)lists(dot)sourceforge(dot)net> |
Subject: | truncated string problem |
Date: | 2003-07-29 20:38:47 |
Message-ID: | 1059511147.10317.16.camel@musicbox |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi, Running the following SQL via pypgsql:
INSERT INTO "songs" ("p_key", "title", "artist", "date", "album",
"tracknumber", "time", "file") VALUES
("ea0e89f596619af1837f424c0767ffd9", "Sugar Mountain", "Neil Young",
"1979", "Live Rust", "1", "302.226666667",
"/oggs/Neil_Young-Sugar_Mountain.ogg");
I get this error:
Execute failed
ERROR: Attribute 'ea0e89f596619af1837f424c0767ffd' not found
Rolling back a transacton
followed by this:
libpq.Warning: NOTICE: identifier "ea0e89f596619af1837f424c0767ffd9"
will be truncated to "ea0e89f596619af1837f424c0767ffd"
the p_key column is a varchar with a length of 64, and if I cut and
paste the SQL string into phpPgAdmin it inserts without a problem.
Any clues?
--
* Rob Brown-Bayliss
* =================
* zoism.org
From | Date | Subject | |
---|---|---|---|
Next Message | Eric Clark | 2003-07-29 20:46:36 | Re: truncated string problem |
Previous Message | Devrim GUNDUZ | 2003-07-29 20:31:19 | Re: Postgresql Hosting |