Re: Temporary tables usage in functions

Поиск
Список
Период
Сортировка
От Josef Šimánek
Тема Re: Temporary tables usage in functions
Дата
Msg-id CAFp7Qwr-NSydrG=AkTC5Ve7=4uW4q=HVG3QSHzUw4UM7Q+fbfQ@mail.gmail.com
обсуждение исходный текст
Ответ на Temporary tables usage in functions  (Yambu <hyambu@gmail.com>)
Список pgsql-general
po 9. 11. 2020 v 13:07 odesílatel Yambu <hyambu@gmail.com> napsal:
>
> Hi
>
> May I know if a temporary table is dropped at the end of a function?

Check https://www.postgresql.org/docs/12/sql-createtable.html#SQL-CREATETABLE-TEMPORARY,
especially the "ON COMMIT" part.

>
> Also may I know if excessive use of temporary tables may cause locks?
>
> regards



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

Предыдущее
От: Yambu
Дата:
Сообщение: Temporary tables usage in functions
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Temporary tables usage in functions