Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5722A475853 for ; Tue, 13 Aug 2002 08:31:00 -0400 (EDT) Received: from node1.ets.net (node1.ets.net [205.207.146.35]) by postgresql.org (Postfix) with ESMTP id D56F2475819 for ; Tue, 13 Aug 2002 08:30:58 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by node1.ets.net (Postfix) with ESMTP id E5AFB2F0B6 for ; Tue, 13 Aug 2002 08:37:52 -0400 (EDT) Received: from bertha.ETS.NET (unknown [204.225.248.249]) by node1.ets.net (Postfix) with ESMTP id 0AE172EF84 for ; Tue, 13 Aug 2002 08:37:49 -0400 (EDT) content-class: urn:content-classes:message Subject: pg_dump fails..does not like "text" data.. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Aug 2002 08:26:45 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Message-ID: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pg_dump fails..does not like "text" data.. Thread-Index: AcJCxLBa2BRXIi4VQPuLKANv9UxXTg== From: "Peter Kelly" To: X-Virus-Scanned: by vRelay.NET (node1) - http://vRelay.NET X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/133 X-Sequence-Number: 5248 I am trying to do a pg_dump of a DB that has one table with approx. 732,390 rows in it. Notes: - I have tried pg_dump -d and pg_dump -D -- both with errors. - I am running PostgreSQL 7.0.3 on Linux RedHat 7.0 (with all updates) postgresql-devel-7.0.3-8 postgresql-server-7.0.3-8 postgresql-perl-7.0.3-8 postgresql-python-7.0.3-8 postgresql-jdbc-7.0.3-8 postgresql-odbc-7.0.3-8 postgresql-7.0.3-8 - 'vacuumdb --analyze vrelay' works fine. - The field I am thinking it is bombing on is a "TEXT" field with email header information (at least that is what it pukes below consistantly and it does not seem to be one row it does not like -- it seems random) - The physical server has 196MB ram and the postgresql data is on a hardware raid 5 array. Error: The error is (I also included the table schema below): [root@krusty base]# pg_dump -D vrelay > /tmp/vrelay.dump=20 Backend sent B message without prior T 85256C0C.001BCBE4-85256C0C.001BCBE4@oyp.com> Date: Mon, 5 Aug 2002 01:03:36 -0400 X-MIMETrack: Serialize by Router on TORSMTP1/OYP(Release 5.0.10 |March 22, 2002) at 08/05/2002 01:03:32 AM MIME-Version: 1.0 Content-type: text/plain; charset=3Dus-ascii Backend sent D message without prior T unexpected character M following 'I' dumpClasses(): command failed. Explanation from backend: '-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: multipart/mixed; boundary=3D"----_=3D_NextPart_000_01C23C97.DCBD58C0" Unknown protocol character 'Unknown protocol character '0' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). Unknown protocol character ' ' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). ANUnknown protocol character 'Unknown protocol character 'Unknown protocol character 'e' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). Unknown protocol character 'h' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). Unknown protocol character ' ' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). Unknown protocol character 'm' read from backend. (The protocol character is the first character the backend sends in response to a query it receives). CREATE TABLE "smtp_log" ( "rid" int4 DEFAULT nextval('smtp_log_rid_seq'::text) NOT NULL, "node_date" timestamp NOT NULL, "node_fqdn" character varying(100) NOT NULL, "status" character varying(10) NOT NULL, "fromaddr" text NOT NULL, "toaddr" text NOT NULL, "headers" text, "msg_id" character varying(100), "size" int4, "smtp_info" text, "virus_info" text, "virusid" character varying(100), "createdon" timestamp DEFAULT "timestamp"('now'::text) NOT NULL ); Any help would be appreciated. -- Peter Kelly ETS.NET INC. 10-17705 Leslie Street Newmarket, ON=20 L3Y 3E3 CANADA Phone: 1-905-713-9978 ext. 405 toll-free: 1-866-713-9978 ext. 405=20 Fax: 1-905-726-8118=20 Visit: http://www.ets.net=20 Enterprise Email Virus Protection: http://vRelay.NET