Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 995499FB222 for ; Thu, 5 Oct 2006 10:31:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 32621-07 for ; Thu, 5 Oct 2006 13:31:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EF5759F9F77 for ; Thu, 5 Oct 2006 10:31:47 -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 k95DVh3J012318; Thu, 5 Oct 2006 09:31:43 -0400 (EDT) To: Achilleas Mantzios cc: pgsql-sql@postgresql.org Subject: Re: i have table In-reply-to: <200610051032.55610.achill@matrix.gatewaynet.com> References: <4523D51F.4070208@myemma.com> <200610051032.55610.achill@matrix.gatewaynet.com> Comments: In-reply-to Achilleas Mantzios message dated "Thu, 05 Oct 2006 10:32:55 +0300" Date: Thu, 05 Oct 2006 09:31:43 -0400 Message-ID: <12317.1160055103@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/57 X-Sequence-Number: 26446 Achilleas Mantzios writes: > Alright, you could play with something like: > UPDATE pg_attribute SET attnum = where > attrelid= and attname=''; That's guaranteed to break his table, because the physical storage of the rows won't have changed. (To name only the most obvious problem...) regards, tom lane