Firefox PHP

host field too small

Posted by junkmale 
host field too small
July 12, 2005 12:26AM
The host name is too small for some hostnames. I found this problem tonight when trying to post.

I'm running PostgreSQL, so here is how I fixed my tables:

begin;
alter table article_feedback add column host_new text;
update article_feedback set host_new = host;
alter table article_feedback alter host_new set default ''::bpchar;
alter table article_feedback alter host_new set not null;
alter table article_feedback rename host to host_old;
alter table article_feedback rename host_new to host;
commit;

See also: [dan.langille.org]

Sorry, you do not have permission to post/reply in this forum.