diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-28 02:07:02 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-28 02:07:02 +0000 |
commit | 04d9f4dab4723a0736157542b1d1a24ad2b8aa1d (patch) | |
tree | 6d28a971442116455da1c612ff5da6558a47d8fc /src/backend/commands/dbcommands.c | |
parent | b779ea8a9a2dc3a089b3ac152b1ec4568bfeb26f (diff) | |
download | postgresql-04d9f4dab4723a0736157542b1d1a24ad2b8aa1d.tar.gz postgresql-04d9f4dab4723a0736157542b1d1a24ad2b8aa1d.zip |
Improve pg_dump's checkSeek() function to verify the functioning of ftello
as well as fseeko, and to not assume that fseeko(fp, 0, SEEK_CUR) proves
anything. Also improve some related comments. Per my observation that
the SEEK_CUR test didn't actually work on some platforms, and subsequent
discussion with Robert Haas.
Back-patch to 8.4. In earlier releases it's not that important whether
we get the hasSeek test right, but with parallel restore it matters.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions