call analyze from stored procedure in C

Поиск
Список
Период
Сортировка
От Ulli Mueckstein
Тема call analyze from stored procedure in C
Дата
Msg-id Pine.LNX.4.44.0304031329250.10673-100000@mescalin.tbi.univie.ac.at
обсуждение исходный текст
Ответы ERROR: More than one tuple returned by a subselect used as an expression.  ("Mel Jamero" <mel@gmanmi.tv>)
Список pgsql-novice
Hi everybody!

I have to insert a lot of data (more than 1.000.000 rows) in various
tables. I use stored procedures in C to insert the data. It is necessary
to run ANALYZE after inserting a some thousand rows into a table. Can
someone tell me how to call ANALYZE
(or analyze_rel(Oid relid, VacuumStmt *vacstmt))
from a C stored procedure ? Any help would be appreciated.

Thanks

Ulli Mueckstein

--


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: errors using COPY from MySQL data
Следующее
От: "Mel Jamero"
Дата:
Сообщение: ERROR: More than one tuple returned by a subselect used as an expression.