Re: Please help me to take a look of the erros in my functions. Thanks.

Поиск
Список
Период
Сортировка
От leaf_yxj
Тема Re: Please help me to take a look of the erros in my functions. Thanks.
Дата
Msg-id b8e5e37.b775.1367968effa.Coremail.leaf_yxj@163.com
обсуждение исходный текст
Ответ на Re: Re: Please help me to take a look of the erros in my functions. Thanks.  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Re: Please help me to take a look of the erros in my functions. Thanks.
Список pgsql-general
Hi John, Thanks for your reply. Just to confirm :  so truncate table means the space will be reclaim for reuse ???
 
Thanks.
 
Grace


At 2012-04-04 02:01:59,"John R Pierce [via PostgreSQL]" <[hidden email]> wrote:
On 04/03/12 10:49 AM, leaf_yxj wrote:
> --- I amn't sure what's differences between truncate and delete in
> postgresql. Could you do me a favour to tell me about this.

delete has to go through and flag each tuple for deletion so vacuum can
eventually go through and reclaim them for reuse.   truncate wipes the
whole table out, including 0 length the files.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


--
Sent via pgsql-general mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



To unsubscribe from Please help me to take a look of the erros in my functions. Thanks., click here.
NAML




View this message in context: Re:Re: Please help me to take a look of the erros in my functions. Thanks.
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Re: Please help me to take a look of the erros in my functions. Thanks.
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: views, queries, and locks