| От | Lars Haugseth |
|---|---|
| Тема | Re: BUG #2429: Explain does not report object's schema |
| Дата | |
| Msg-id | 87k68uca5q.fsf@durin.larshaugseth.com обсуждение исходный текст |
| Ответ на | BUG #2429: Explain does not report object's schema ("Cristiano da Cunha Duarte" <cunha17@gmail.com>) |
| Список | pgsql-bugs |
* cunha17@gmail.com ("Cristiano da Cunha Duarte") wrote:
|
| 1) PROBLEM:
|
| Explain command does not report the schema of objects, so when using objects
| having the same name but in different schemas, they will apear as being the
| same object.
|
| 2) HOW TO REPRODUCE:
Don't know whether this would help in your situation, but you can make the
output of EXPLAIN disambiguous by using table aliases:
EXPLAIN
SELECT *
FROM schema1.mytable AS mt1, schema2.mytable AS mt2
WHERE 1=0
(The AS keyword is optional.)
The aliases will be included in the query plan output.
--
Lars Haugseth
"If anyone disagrees with anything I say, I am quite prepared not only to
retract it, but also to deny under oath that I ever said it." -Tom Lehrer
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера