Re: pgsql/src/backend catalog/heap.c utils/adt/tid.c
| От | Hiroshi Inoue |
|---|---|
| Тема | Re: pgsql/src/backend catalog/heap.c utils/adt/tid.c |
| Дата | |
| Msg-id | 3CEC6950.33A48395@tpf.co.jp обсуждение исходный текст |
| Ответ на | pgsql/src/backend catalog/heap.c utils/adt/tid.c (inoue@postgresql.org (Hiroshi Inoue)) |
| Список | pgsql-committers |
Neil Conway wrote: > > On Wed, 22 May 2002 03:46:58 -0400 (EDT) > "Hiroshi Inoue" <inoue@postgresql.org> wrote: > > Log message: > > Allow > > CREATE VIEW as SELECT CTID, .... > > SELECT currtid( a view, ..). > > Hiroshi, > > Can you elaborate on exactly what your modification allows? Before the change, views have meaningless system columns. After the change, views have no system columns basically and users could add columns with system column name. My main intention is to allow scan by TIDs on views. Scan by TIDs is the fastest random access to PG tables and I'm using the scan to implement updatable cursors in ODBC driver. I'd not like to discourage users to use views. > Also, would it be appropriate to add regression tests for this? Not sure. AFAIK few people are interested in system columns other than OID. regards, Hiroshi Inoue
В списке pgsql-committers по дате отправления: