diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-28 02:07:09 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-06-28 02:07:09 +0000 |
commit | 0c3a0bcaa40a68261858851c8d1daa64aa21fc33 (patch) | |
tree | c185d4dca145c4fdc0ff2e8996126404e3dfb5d8 /src/backend/parser/parse_expr.c | |
parent | 8c1f92c5c0335c880acacdd4324d73b502116296 (diff) | |
download | postgresql-0c3a0bcaa40a68261858851c8d1daa64aa21fc33.tar.gz postgresql-0c3a0bcaa40a68261858851c8d1daa64aa21fc33.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/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions