Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 938A49FC009 for ; Fri, 16 Mar 2007 13:28:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 06021-01 for ; Fri, 16 Mar 2007 13:28:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A1E8A9FBF48 for ; Fri, 16 Mar 2007 13:28:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l2GGSpTI007902; Fri, 16 Mar 2007 12:28:51 -0400 (EDT) To: "Anton Pikhteryev" cc: pgsql-admin@postgresql.org Subject: Re: Problem migrating from 8.0.3 to 8.2.3 In-reply-to: References: Comments: In-reply-to "Anton Pikhteryev" message dated "Fri, 16 Mar 2007 11:59:44 -0400" Date: Fri, 16 Mar 2007 12:28:51 -0400 Message-ID: <7901.1174062531@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/107 X-Sequence-Number: 24931 "Anton Pikhteryev" writes: > COPY clap_file_info (fileid, filename, created, "owner") FROM stdin; > ERROR: type "char" is not a domain > CONTEXT: COPY clap_file_info, line 1, column owner: "mfgtest" You have removed the parts of the dump that show the creation of this table. Please try again. > I am thinking that it has something to do with usesysid not being > consistent for valid_user type from 8.0.3 to 8.2.3. Highly unlikely. The error message must be coming from domain_in, but why is that getting invoked? I want to see the declaration of that table and any data types or constraints it's using. regards, tom lane