Re: Order of columns in a table important in a stored procedure?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Order of columns in a table important in a stored procedure?
Дата
Msg-id 338.1108316985@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Order of columns in a table important in a stored procedure?  (Marc SCHAEFER <alphanet-postgresql-sql@alphanet.ch>)
Список pgsql-sql
Marc SCHAEFER <alphanet-postgresql-sql@alphanet.ch> writes:
> I have however noticed that if the SELECT is *NOT* in the correct order
> for the table saisies, funny errors happen (such as type constraints --
> obviously columns are mixed).
> What I do not understand is that I use AS in order to name the columns,
> I would think PostgreSQL could get the column names paired.

It doesn't do it on the basis of column names.
        regards, tom lane


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

Предыдущее
От: Marc SCHAEFER
Дата:
Сообщение: Order of columns in a table important in a stored procedure?
Следующее
От: Theo Galanakis
Дата:
Сообщение: XML