Skip site navigation (1) Skip section navigation (2)

pg_ctl crash fix

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: pg_ctl crash fix
Date: 2006-01-14 13:55:45
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE92E9BD@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-patches
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: application/octet-stream (1.1 KB)

Responses

pgsql-patches by date

Next:From: Peter EisentrautDate: 2006-01-14 15:41:53
Subject: Re: pg_ctl crash fix
Previous:From: Peter EisentrautDate: 2006-01-14 09:13:47
Subject: Re: message for constraint

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group