docs: document parallel_export_parquet; fix stale superuser claims after #331 - #335
Conversation
parallel_export_parquet (merged in jdatcmd#329) was in administration.md's role table but had no reference entry, feature note, or user-guide example, unlike its sibling parallel_copy. Add all three, including the consistency guarantee (one exported snapshot, so the files are the committed image at call time) and the partial-output cleanup on failure. Also correct six places that still said the server-file functions "require superuser". jdatcmd#330 and jdatcmd#331 moved them to the pg_read_server_files and pg_write_server_files roles, which superusers hold; administration.md was updated then, but these were missed: - sql-reference.md: the import/export intro and the read-in-place section - features.md: the interoperability note - user-guide.md: the read-in-place note - limitations.md: the type-coverage note and the read-in-place limits The remaining superuser mentions in configuration.md are GUC-set permissions, not server-file access, and are correct. STE and docs_style gates pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UX1jrWiQsJJA1t4pkmkb4T
Review: accurate, and the stale-claim sweep is complete. One sentence is wrong.The #331 cleanup is done properly. The The wrong sentence
It does not have to exist. So a user reading this will create the directory first, believing they have to. Worth a second look at the same sentence in the sql-reference entry if it is Small suggestionNow that #333 landed, the failure behaviour is worth one line wherever the empty
|
…straint Both the SQL reference and the user guide said "must exist and be empty". It does not have to exist: pexport_prepare_dir creates it when absent and requires it empty only when it is already there. Verified by exporting to a path that did not exist, which succeeded and created it. The wrong half is not just extra work for the reader. It buries the half that matters: emptiness is the rule that bites on a re-run into a directory that already holds output. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011miCFRSatixeNRw3w5yNq8
What
Follow-up docs audit for the last two days of features. Two gaps.
1.
parallel_export_parquetwas undocumented in the reference docs. It shippedin #329 and appears in
administration.md's privilege table, but had nosql-reference.mdentry, nofeatures.mdnote, and nouser-guide.mdexample,unlike its sibling
parallel_copy. Added all three, including the consistencyguarantee (one exported snapshot, so the files are the committed image at call
time) and the partial-output cleanup on failure (#332).
2. Six stale "require superuser" claims. #330 and #331 moved the server-file
functions to the
pg_read_server_filesandpg_write_server_filesroles, whichsuperusers hold.
administration.mdwas updated then, but these were missed:sql-reference.md: the import/export intro and the read-in-place sectionfeatures.md: the interoperability noteuser-guide.md: the read-in-place notelimitations.md: the type-coverage note and the read-in-place limitsThe two remaining
superusermentions inconfiguration.mdare GUC-setpermissions, not server-file access, and are correct.
ste_check.pyanddocs_style.shpass on the full docs set.🤖 Generated with Claude Code