From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [BUGS] BUG #5957: createdb with description and md5 auth forces to provide password twice |
Date: | 2011-05-05 21:34:04 |
Message-ID: | 10307.1304631244@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Prior to PG 8.2, this was necessary to put the comment on the database,
> but now that we have the shared comment/description table
> pg_shdescription, this is not necessary.
> Do we need createdb to be able to create databases for pre-8.2 clusters?
> If not, the attached patch fixes the double-prompting.
Well, if you're only going to change this in HEAD, that might be an
acceptable limitation, but if you intend to back-patch I think not.
Older versions of createdb are probably significantly more likely to
be used with even-older servers.
Seems like it wouldn't be that hard to test the server version and only
reconnect if it's pre-8.2.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2011-05-05 22:12:04 | Re: Re: [BUGS] BUG #5957: createdb with description and md5 auth forces to provide password twice |
Previous Message | Tom Lane | 2011-05-05 21:29:47 | Re: Adding a user without expiration date using pgAdmin III causes postgresql Beta1 to crash |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2011-05-05 22:12:04 | Re: Re: [BUGS] BUG #5957: createdb with description and md5 auth forces to provide password twice |
Previous Message | Tom Lane | 2011-05-05 21:22:33 | Re: Process wakeups when idle and power consumption |