X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E9CEF3A5977 for ; Thu, 2 Dec 2004 21:44:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 22558-04 for ; Thu, 2 Dec 2004 21:44:25 +0000 (GMT) Received: from web50004.mail.yahoo.com (web50004.mail.yahoo.com [206.190.38.19]) by svr1.postgresql.org (Postfix) with SMTP id 53C1A3A594F for ; Thu, 2 Dec 2004 21:44:21 +0000 (GMT) Received: (qmail 16263 invoked by uid 60001); 2 Dec 2004 21:44:21 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=k7lNbgQhyweopw3Fz+htifqg6ansq2jFBXKZZBIxZYIm/oQsNYRYRtqTvmFYQRer2vypds946YUBeyT/3HKybCYNuwCQ+xH/ALucV2f4xdEFq4H4iQe6n77AMoGgSU6QxUPXyhYMiV2bcZs/rVeswLMyp9z0hvt7Hen0lKuO5j0= ; Message-ID: <20041202214421.16254.qmail@web50004.mail.yahoo.com> Received: from [69.65.137.210] by web50004.mail.yahoo.com via HTTP; Thu, 02 Dec 2004 15:44:21 CST Date: Thu, 2 Dec 2004 15:44:21 -0600 (CST) From: Jaime Casanova Subject: Re: can't relink from MS access after dropping field To: pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.374 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200412/16 X-Sequence-Number: 4750 --- Fred Parkinson escribió: > After dropping a field in a postgres table this > morning > (alter table tstudents drop company_id) > I now get an error message from Access when I try to > link to that > table: > > .........pg.dropped.31........ > is not a valid name etc. > That's because postgresql actually doesn't remove the column it just rename it and mark it as dropped. when access try to see the table structure it doesn't know it has to ask if the column has been marked as dropped and try to show it but the new column name for the dropped column is not a valid name so it rejects and show you the error above. the solution i found: pg_dump/pg_restore the base regards, Jaime Casanova _________________________________________________________ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com