| От | Thomas Kellerer |
|---|---|
| Тема | Re: DELETE using an outer join |
| Дата | |
| Msg-id | jub46t$fl1$1@dough.gmane.org обсуждение исходный текст |
| Ответ на | Re: DELETE using an outer join (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-sql |
Tom Lane, 19.07.2012 16:52: > If you're using a reasonably recent version of PG, replacing the NOT IN > by a NOT EXISTS test should also help. Thanks. I wasn't aware of that (and the NOT EXISTS does indeed produce the same plan as the OUTER JOIN solution) >> Now I was wondering if a DELETE statement could be rewritten with the same "strategy": > > Not at the moment. There have been discussions of allowing the same > table name to be respecified in USING, but there are complications. Thanks as well. It's not a big deal for me. I was just curious if I missed something. Regards Thomas
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера