truncated string problem
| От | Rob Brown-Bayliss |
|---|---|
| Тема | truncated string problem |
| Дата | |
| Msg-id | 1059511147.10317.16.camel@musicbox обсуждение исходный текст |
| Ответы |
Re: truncated string problem
Re: truncated string problem |
| Список | 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
В списке pgsql-general по дате отправления: