pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: i have table
Date: Thu, 05 Oct 2006 09:31:43 -0400
Message-ID: <12317.1160055103@sss.pgh.pa.us> (raw)
In-Reply-To: <200610051032.55610.achill@matrix.gatewaynet.com>
References: <A70AE049E81A6A40879D5DC0AC8C38C9073DCD8F@venus.infics.com>
	<bf05e51c0610040754o101408c2y8a743697b9ceee4@mail.gmail.com>
	<4523D51F.4070208@myemma.com>
	<200610051032.55610.achill@matrix.gatewaynet.com>

Achilleas Mantzios <achill@matrix.gatewaynet.com> writes:
> Alright, you could play with something like:

> UPDATE pg_attribute SET attnum = <your number of ordering> where 
> attrelid=<your tableoid> and attname='<your column name>';

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



view thread (19+ messages)  latest in thread

Message-ID: <12317.1160055103@sss.pgh.pa.us>
Permalink:  ../12317.1160055103@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12317.1160055103@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, achill@matrix.gatewaynet.com
  Subject: Re: i have table
  In-Reply-To: <12317.1160055103@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox