aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_ts.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-06-28 21:35:46 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-06-28 21:35:46 +0300
commitcb2acb1081e13b4b27a76c6b5311115528e49c59 (patch)
tree6a3a2914b6f525cf1fa0354c562fcdb22773252c /contrib/btree_gist/btree_ts.c
parentcca8ba9529f8815acd23fe88c32763765d0e1b68 (diff)
downloadpostgresql-cb2acb1081e13b4b27a76c6b5311115528e49c59.tar.gz
postgresql-cb2acb1081e13b4b27a76c6b5311115528e49c59.zip
Add missing_ok option to the SQL functions for reading files.
This makes it possible to use the functions without getting errors, if there is a chance that the file might be removed or renamed concurrently. pg_rewind needs to do just that, although this could be useful for other purposes too. (The changes to pg_rewind to use these functions will come in a separate commit.) The read_binary_file() function isn't very well-suited for extensions.c's purposes anymore, if it ever was. So bite the bullet and make a copy of it in extension.c, tailored for that use case. This seems better than the accidental code reuse, even if it's a some more lines of code. Michael Paquier, with plenty of kibitzing by me.
Diffstat (limited to 'contrib/btree_gist/btree_ts.c')
0 files changed, 0 insertions, 0 deletions