Re: preliminary: logical column order

Поиск
Список
Период
Сортировка
От Manfred Koizar
Тема Re: preliminary: logical column order
Дата
Msg-id 5kd3svcfcgfl7lu9r5a7l7opon7bp8cqvu@email.aon.at
обсуждение исходный текст
Ответ на preliminary: logical column order  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
On Fri, 21 Nov 2003 03:09:02 -0500, Neil Conway <neilc@samurai.com> wrote:
>attachment; filename=weird_regression.diffs

This was caused by a small oversight in ALTER TABLE ... ADD COLUMN:

diff -ruN ../base/src/backend/commands/tablecmds.c src/backend/commands/tablecmds.c
--- ../base/src/backend/commands/tablecmds.c    2003-10-14 00:47:15.000000000 +0200
+++ src/backend/commands/tablecmds.c    2003-11-23 16:51:37.000000000 +0100
@@ -1786,6 +1786,7 @@
     attribute->attcacheoff = -1;
     attribute->atttypmod = colDef->typename->typmod;
     attribute->attnum = i;
+    attribute->attpos = i;
     attribute->attbyval = tform->typbyval;
     attribute->attndims = attndims;
     attribute->attisset = (bool) (tform->typtype == 'c');


Servus
 Manfred

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: internationalization of initdb
Следующее
От: "ViSolve Open Source Team"
Дата:
Сообщение: (Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64