From: | leaf_yxj <leaf_yxj(at)163(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Please help me to take a look of the erros in my functions. Thanks. |
Date: | 2012-04-03 18:13:18 |
Message-ID: | b8e5e37.b775.1367968effa.Coremail.leaf_yxj@163.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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]" <ml-node+s1045698n5615977h29(at)n5(dot)nabble(dot)com> 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
If you reply to this email, your message will be added to the discussion below:
http://postgresql.1045698.n5.nabble.com/Please-help-me-to-take-a-look-of-the-erros-in-my-functions-Thanks-tp5613507p5615977.html
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: http://postgresql.1045698.n5.nabble.com/Please-help-me-to-take-a-look-of-the-erros-in-my-functions-Thanks-tp5613507p5616006.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2012-04-03 18:36:11 | Re: views, queries, and locks |
Previous Message | John R Pierce | 2012-04-03 18:00:33 | Re: Re: Please help me to take a look of the erros in my functions. Thanks. |