Re: Query error corrected after vacuum

Поиск
Список
Период
Сортировка
От Tod McQuillin
Тема Re: Query error corrected after vacuum
Дата
Msg-id Pine.GSO.4.21.0011112202540.7805-100000@sysadmin
обсуждение исходный текст
Ответ на Query error corrected after vacuum  (Matt Doucleff <matt@digitalfountain.com>)
Список pgsql-general
On Sat, 11 Nov 2000, Matt Doucleff wrote:

> I'm getting the following error:
>
> select name from files where dir_id =
>     (select id from dirs where domain_id =
>         (select id from domains where domain = 'foo'))
>
> ERROR:  ExecReScanSetParamPlan: extParam list of plan is NULL

I don't know what's causing the error, but the above query should be the
same as this multi-table join:

select f.name from files f, dirs di, domains do
where f.dir_id = di.id
and di.domain_id = do.id
and do.domain = 'foo'

So if you can't get the nested sub-selects working the above query may
work better.
--
Tod McQuillin



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

Предыдущее
От: oberpwd@anubis.network.com (Wade D. Oberpriller)
Дата:
Сообщение: More help on PL/Perl
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Query error corrected after vacuum