how to alias a table

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема how to alias a table
Дата
Msg-id 20100613170748.57e07c22@dawn.webthatworks.it
обсуждение исходный текст
Список pgsql-general
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.

thanks

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: table partition or index
Следующее
От: Tim Landscheidt
Дата:
Сообщение: Re: how to alias a table