Magnus Hagander <mag...@hagander.net> writes:
>> - Why not initialize logid and logseg like so?:
>> 
>>        int logid = startptr.xlogid;
>>        int logseg = startptr.xrecoff / XLogSegSize;
>> 
>>  Then use those in your elog?  Seems cleaner to me.

> Hmm. Yes. Agreed.

Marginal complaint here: int is the wrong type, I'm pretty sure.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to