Re: Adding a New Column Specifically In a Table

From: Thom Brown <thom(at)linux(dot)com>
To: Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>
Cc: Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Adding a New Column Specifically In a Table
Date: 2010-10-14 12:20:23
Message-ID: AANLkTimKiY9cNhvw1EyUJUj62bCSWU2JOKqJ6+bPVs38@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 14 October 2010 09:51, Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com> wrote:
> Dear Carlos,
>
> In old version of postgresql attnum colmn of pg_catalog.pg_attribute
> system catalog
> could be modified to get desired results. I am not sure if it should
> be done anymore.

That will only make the column names swap round, but then the data
will appear as if it's coming from the wrong column.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Hopfgartner 2010-10-14 12:39:58 Re: Getting FATAL: terminating connection due to administrator command
Previous Message Dmitriy Igrishin 2010-10-14 12:14:04 Re: querying the version of libpq