
I just reread the patch; is it valid to assume fseek and fseeko have the 
same  failure modes? Or does the call to 'fseek' actually call fseeko?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


Fri, 25 Oct 2002 13:13:02 +1000
Philip Warner <pjw@rhyme.com.au>
Re: pg_dump and large files - is this a problem?
Philip Warner wrote:
> 
> I just reread the patch; is it valid to assume fseek and fseeko have the 
> same  failure modes? Or does the call to 'fseek' actually call fseeko?

The fseek was a typo.  It should have been fseeko as you suggested.
CVS updated.

Your idea of using SEEK_SET is good, except I was concerned that the
checkSeek call will move the file pointer.  Is that OK?  It doesn't seem
appropriate.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Thu, 24 Oct 2002 23:51:26 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_dump and large files - is this a problem?
At 11:51 PM 24/10/2002 -0400, Bruce Momjian wrote:
>Your idea of using SEEK_SET is good, except I was concerned that the
>checkSeek call will move the file pointer.  Is that OK?  It doesn't seem
>appropriate.

The call is made just after the file is opened (or it should be!), so 
SEEK_SET, 0 will not be a problem.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                  |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


Fri, 25 Oct 2002 16:43:42 +1000
Philip Warner <pjw@rhyme.com.au>
Re: pg_dump and large files - is this a problem?