Warning: pg_query() [function.pg-query]: Query failed: ERROR: value too
long for type character varying(128) in
/var/www/web/includes/database.pgsql.inc on line 125

Warning: ERROR: value too long for type character varying(128) query:
INSERT INTO dp_watchdog (uid, type, message, severity, link, location,
referer, hostname, timestamp) VALUES (1, 'php', '在
/var/www/web/includes/database.pgsql.inc 的第 125
行:pg_query() [<a
href='function.pg-query'>function.pg-query</a>]: Query
failed: ERROR: value too long for type character varying(128)
。', 2,
'', 'http://www.somewhere.com/?q=news.html',
'http://www.google.cn/search?q=%E9%87%8D%E5%BA%86%E8%BF%9C%E6%9E%97&compl...',
'219.152.78.237', 1203651349) in /var/www/web/includes/database.pgsql.inc
on line 144

Warning: pg_query() [function.pg-query]: Query failed: ERROR: value too
long for type character varying(128) in
/var/www/web/includes/database.pgsql.inc on line 125

Warning: ERROR: value too long for type character varying(128) query:
INSERT INTO dp_watchdog (uid, type, message, severity, link, location,
referer, hostname, timestamp) VALUES (1, 'php', '在
/var/www/web/includes/database.pgsql.inc 的第 144
行:ERROR: value too long for type character varying(128) query:
INSERT INTO dp_watchdog (uid, type, message, severity, link, location,
referer, hostname, timestamp) VALUES (1, &#039;page not
found&#039;, &#039;news.html&#039;, 1, &#039;&#039;,
&#039;http://www.somewhere.com/?q=news.html&#039;,
&#039;http://www.google.cn/search?q=%E9%87%8D%E5%BA%86%E8%BF%9C%E6%9E%97&amp;c...,
&#039;219.152.78.237&#039;, 1203651349)
。', 2, '',
'http://www.yu in /var/www/web/includes/database.pgsql.inc on line 144

Comments

Anonymous’s picture

Status: Active » Closed (fixed)

this is not a watchdog live issue.

watchdog live does NOT insert anything into the watchdog table.

the only queries that exist in the module are select calls to grab the data.

I would suspect something to do with pgsql and "ERROR: value too long for type character varying(128)"

Was this site running off of 4.7 and got upgraded? could the varchar length not be a high enough value?

that's about all i can give ya.