Re: [HACKERS] free(3)-ing variables in pg_dump

2003-09-23 Thread Tom Lane
Andreas Joseph Krogh <[EMAIL PROTECTED]> 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 ---(end of broadcast)-

Re: [HACKERS] free(3)-ing variables in pg_dump

2003-09-23 Thread Andreas Joseph Krogh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 23 September 2003 16:25, Andrew Dunstan wrote: > Andreas Joseph Krogh wrote: > >Hi. > > > >I'm trying to implement functionallity to dump multiple tables with > > multiple "-t " options. > > excellent. > > >While digging in the source for pg

Re: [HACKERS] free(3)-ing variables in pg_dump

2003-09-23 Thread Andrew Dunstan
Andreas Joseph Krogh wrote: Hi. I'm trying to implement functionallity to dump multiple tables with multiple "-t " options. excellent. While digging in the source for pg_dump I see that many local static variables are not freed( with free(3)). Is this lazy programming because pg_dump is its

[HACKERS] free(3)-ing variables in pg_dump

2003-09-23 Thread Andreas Joseph Krogh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. I'm trying to implement functionallity to dump multiple tables with multiple "-t " options. While digging in the source for pg_dump I see that many local static variables are not freed( with free(3)). Is this lazy programming because pg_dump is