Brian Harris <brian(at)harris-piper(dot)freeserve(dot)co(dot)uk> writes:> id | integer | not null default nextval('T_Joint_id_seq'::text)
This default is wrong --- it should be nextval('"T_Joint_id_seq"'::text)Note the quotes.
regards, tom lane