Received: from matrix.gatewaynet.com (unknown [217.19.69.50]) by postgresql.org (Postfix) with ESMTP id CEFA3474E6D for ; Tue, 23 Jul 2002 04:32:22 -0400 (EDT) Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.11.6/8.11.6) with ESMTP id g6N8XQR22092 for ; Tue, 23 Jul 2002 11:33:26 +0300 Date: Tue, 23 Jul 2002 11:33:25 +0300 (EEST) From: Achilleus Mantzios To: pgsql-sql@postgresql.org Subject: Re: pg_dump and sequences In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200207/345 X-Sequence-Number: 8723 On Tue, 23 Jul 2002, Achilleus Mantzios wrote: Just a correction > Hi, i am using postgreSQL 7.2.1 on a redhat 7.2 (kernel > 2.4.9-31,glibc-2.2.4-24). > > It seems that pg_dump -t "tablename" dumps correctly the sequence of a > table's column,when the column is named after "id". > ^^^^ I meant "when ONLY" the column is named after "id", whereas it does not dump the sequence when the column is named after something different than "id". -- Achilleus Mantzios S/W Engineer IT dept Dynacom Tankers Mngmt Nikis 4, Glyfada Athens 16610 Greece tel: +30-10-8981112 fax: +30-10-8981877 email: achill@matrix.gatewaynet.com mantzios@softlab.ece.ntua.gr