Re: table synonyms

Поиск
Список
Период
Сортировка
От
Тема Re: table synonyms
Дата
Msg-id 000001c55d65$f5ddc8c0$0793f8c8@pegasus
обсуждение исходный текст
Ответ на table synonyms  ("Jayme Jeffman Filho" <jjeffman@cpovo.net>)
Ответы Re: table synonyms  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-general
I have searched for the word synonym through the whole
PostrgeSQL 7.42 pdf documentation and all the ocurrences
are from functions redefinitions, and another PostreSQL
user has answered me that it does not support tables
synonyms, so I am with a big problem : How can I write
queries to suport different tables owners ?

Let me explain : I run the same application at different
database servers, from different enterprises, and their
DBA's can choose the name of the owner of the tables I
should query to. How to manage this ? Can I use a parameter
to define the table owner ? A macro ? Is there any
solution?

Thanks a lot.

Jayme.

----- Original Message -----
From: "Jim C. Nasby"
To: Jayme Jeffman Filho
Sent: 20-May-2005 13:31:49 -0300
CC: pgsql-general@postgresql.org
Subject: Re: [GENERAL] table synonyms
I don't remember off the top of my head exactly how synonyms worked, but
I'm pretty sure PostgreSQL doesn't directly support them. You might be
able to emulate them with rules, though.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: numeric precision when raising one numeric to another.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Exception Handling in C-Language Functions?