Re: how to alias a table

Поиск
Список
Период
Сортировка
От Tim Landscheidt
Тема Re: how to alias a table
Дата
Msg-id m339wr3q3c.fsf@passepartout.tim-landscheidt.de
обсуждение исходный текст
Ответ на how to alias a table  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
Ivan Sergio Borgonovo <mail@webthatworks.it> wrote:

> I'm refactoring some code and I'll find helpful to be able to alias
> tables.

> What I'd like to do would be to refer to the same table with an
> alias in the code and later substitute the alias with an actual VIEW.

> Of course I could define a view as
> select * from original_table
> right from the start but I'm worried this may incur in some overhead
> I currently can't afford.

Have you tried it?

Tim

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

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: how to alias a table
Следующее
От: fdd sds
Дата:
Сообщение: Re: how to alias a table