Osmosis convert .pbf to xml error

Can’t uderstand why it fails?

osmosis --rp z:\volga-fed-district-latest.osm.pbf --wx null

Fails with :

INFO: Preparing pipeline.
ьрЁ 13, 2019 9:18:40 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task 2-wx does not support data provided by default pipe stored at level 1 in the default pipe stack.
        at org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask (PipeTasks.java:159)

Windows 7 SP1 x64 ru prof., Java 8, Osmosis 0.47.

Thanks.

You’re using the “–read-pgsql” argument, but then feeding it a PBF file, which will certainly lead to an error. Did you maybe mean to use “–rb” or “–read-pbf”?

My fault. Thank you.