There's no such field as OutputPluginOptions.output_mode;
it's actually output_type. Noted by T. Katsumata.
Discussion: https://postgr.es/m/
20170215072115[email protected]
data in a data type that can contain arbitrary data (e.g., bytea) is
cumbersome. If the output plugin only outputs textual data in the
server's encoding, it can declare that by
- setting OutputPluginOptions.output_mode>
+ setting OutputPluginOptions.output_type>
to OUTPUT_PLUGIN_TEXTUAL_OUTPUT> instead
of OUTPUT_PLUGIN_BINARY_OUTPUT> in
the startup