pg_dump crashes on "unregister" when a data directory is not specified.
Even though a data directory is not required. Attached patch fixes that.

(There is a check a couple of rows up that specifically allow for
pg_data to be null with unregister, but then we try to use it without
checking if it is...)

//Magnus

Attachment: pg_ctl_crash.patch
Description: pg_ctl_crash.patch

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to