BUG #9759: whe extend some varchar cols to varchar(n) , index filenode disappear, and 58P01 ERROR

From: digoal(at)126(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #9759: whe extend some varchar cols to varchar(n) , index filenode disappear, and 58P01 ERROR
Date: 2014-03-28 11:58:02
Message-ID: 20140328115802.13982.97732@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 9759
Logged by: digoal.zhou
Email address: digoal(at)126(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-03-28 14:31:06 Re: BUG #8139: initdb: Misleading error message when current user not in /etc/passwd
Previous Message Christoph Berg 2014-03-28 10:41:54 Re: BUG #8139: initdb: Misleading error message when current user not in /etc/passwd