Re: R: Field's position in Table

Поиск
Список
Период
Сортировка
От vinny
Тема Re: R: Field's position in Table
Дата
Msg-id 1251142717.11931.5.camel@vinny-desktop
обсуждение исходный текст
Ответ на Re: R: Field's position in Table  (Sam Mason <sam@samason.me.uk>)
Ответы Re: R: Field's position in Table
Список pgsql-general
On Thu, 2009-08-20 at 12:16 +0100, Sam Mason wrote:
> On Thu, Aug 20, 2009 at 11:24:49AM +0200, vinny wrote:
> > I can't really think of any real reason to put the field at a
> > particular position, applications don't reallty care about the order
> > of fields.
>
> Because it's very convenient for ad-hoc queries!  PG currently assumes
> that the column order is the same as when it was created but there are
> (unimplemented) suggestions about how to "fix" this.  See for example:
>
>   http://archives.postgresql.org/pgsql-hackers/2006-12/msg00983.php
>
> --
>   Sam  http://samason.me.uk/
>

But how is it convenient exactly, is it just a timesaver so you can
SELECT * instead of having to type SELECT firstname, lastname, email?


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: How to simulate crashes of PostgreSQL?
Следующее
От: Adam Rich
Дата:
Сообщение: Re: R: Field's position in Table