Re: free(3)-ing variables in pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: free(3)-ing variables in pg_dump
Date: 2003-09-23 15:22:03
Message-ID: 17136.1064330523@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andreas Joseph Krogh <andreak(at)officenet(dot)no> writes:
> Shall I bother to free(3) them?

No. They need to live for the entire pg_dump run, so there's no point
in writing code to free them.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-23 15:24:02 Re: Question on adding new indexes to Postgresql
Previous Message Andreas Joseph Krogh 2003-09-23 14:50:43 Re: free(3)-ing variables in pg_dump