diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-05 11:26:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-05-05 11:26:41 -0400 |
commit | e03485ae8a2025d5deea291ebb24412229cc2fe5 (patch) | |
tree | adf4024e2c81ed2d516e6ae42e73264fb112b601 /src/backend/utils/adt/arrayutils.c | |
parent | f8db074049be74fa100b4f97d09ee76222660e7c (diff) | |
download | postgresql-e03485ae8a2025d5deea291ebb24412229cc2fe5.tar.gz postgresql-e03485ae8a2025d5deea291ebb24412229cc2fe5.zip |
Fix case of pg_dump -Fc to an unseekable file (such as a pipe).
This was accidentally broken in commits cfa1b4a711/5e8e794e3b.
It saves a line or so to call ftello unconditionally in _CloseArchive,
but we have to expect that it might fail if we're not in hasSeek mode.
Per report from Bernd Helmle.
In passing, improve _getFilePos to print an appropriate message if
ftello fails unexpectedly, rather than just a vague complaint about
"ftell mismatch".
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions