Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTYlF-0005c4-LK for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Mar 2014 15:32:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WTYlE-0005aR-7m for pgsql-bugs@arkaria.postgresql.org; Fri, 28 Mar 2014 15:32:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTVRQ-0008Hr-JQ for pgsql-bugs@postgresql.org; Fri, 28 Mar 2014 11:59:20 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTVRA-0005mg-R3 for pgsql-bugs@postgresql.org; Fri, 28 Mar 2014 11:59:20 +0000 MIME-Version: 1.0 Subject: BUG #9759: whe extend some varchar cols to varchar(n) , index filenode disappear, and 58P01 ERROR To: pgsql-bugs@postgresql.org From: digoal@126.com Date: Fri, 28 Mar 2014 11:58:02 +0000 Message-ID: <20140328115802.13982.97732@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 9759 Logged by: digoal.zhou Email address: digoal@126.com PostgreSQL version: 9.2.4 Operating system: CentOS 5.x x64 Description: whe I use SQL "alter table ... alter column ... type varchar;" extend some varchar(n) columns to varchar, and then i select the table , it's raise 58P01 error, and i use select relname from pg_class where pg_relation_filepath(oid)='$the_filenode', the relname is index on the table. but this query plan is SeqScan, and one: why index filenode is disappear? two: why i not use index scan also raise the index not open, in plan parse need open the index file? This error is not raise all tables. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs