Lists: | pgsql-general |
---|
From: | pw <p(dot)willis(at)telus(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Where does postgres store records of DROP-ed columns? |
Date: | 2004-09-09 19:01:20 |
Message-ID: | 4140A880.2070208@telus.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Hello,
I have some stuff coming back from the database
telling me that columns that I have dropped
are being retined inthe table renamed as
........pg.dropped.1........
........pg.dropped.7........
I know what these columns originally were but I dropped them
from the table. I am now 'haunted' by these ghost columns with no
type applied.
How do I get rid of these references?
Thanks for nay help,
Pete
From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | pw <p(dot)willis(at)telus(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Where does postgres store records of DROP-ed columns? |
Date: | 2004-09-09 20:02:04 |
Message-ID: | 4140B6BC.6080105@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
> I know what these columns originally were but I dropped them
> from the table. I am now 'haunted' by these ghost columns with no
> type applied.
>
> How do I get rid of these references?
I believe (I would have to double check) that they will dissappear after
a vacuum.
Sincerely,
Joshua D. Drake
>
> Thanks for nay help,
>
> Pete
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
Mammoth PostgreSQL Replicator. Integrated Replication for PostgreSQL
Attachment | Content-Type | Size |
---|---|---|
jd.vcf | text/x-vcard | 640 bytes |
From: | peter Willis <peterw(at)borstad(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Where does postgres store records of DROP-ed columns? |
Date: | 2004-09-09 20:47:15 |
Message-ID: | 4140C153.2010907@borstad.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
Thank you.
That worked.
I got mind locked into psql command line space and forgot about
the executables......
Thanks again,
Pete
Joshua D. Drake wrote:
>>
>> How do I get rid of these references?
>
>
> I believe (I would have to double check) that they will dissappear
> after a vacuum.
>
> Sincerely,
>
> Joshua D. Drake
>
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pw <p(dot)willis(at)telus(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Where does postgres store records of DROP-ed columns? |
Date: | 2004-09-09 22:01:30 |
Message-ID: | 10991.1094767290@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-general |
pw <p(dot)willis(at)telus(dot)net> writes:
> How do I get rid of these references?
You ignore pg_attribute rows that have attisdropped true.
regards, tom lane