| From: | David Fetter <david(at)fetter(dot)org> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Markus Bertheau <mbertheau(dot)pg(at)googlemail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Subject: | Re: psql -p 5433; create database test; \c test failing |
| Date: | 2006-03-12 01:57:46 |
| Message-ID: | 20060312015746.GF23295@fetter.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Mar 11, 2006 at 12:15:08PM -0500, Tom Lane wrote:
> "Markus Bertheau" <mbertheau(dot)pg(at)googlemail(dot)com> writes:
> > Why is it trying to use 5432? Am I missing something? Is that the
> > expected behaviour?
>
> > Michael Fuhr hinted that
> > http://archives.postgresql.org/pgsql-committers/2006-02/msg00139.php
> > may be the cause of that.
>
> Confirmed here: \c drops the previous port connection setting (and
> the host too according to my testing). This is clearly a bug --- at
> least, there was no hint in the patch description that it would
> change the behavior of previously-accepted cases, and it would have
> had to withstand much more careful review if that were stated to be
> the case.
I believe that this patch fixes the problem. Should there be
something in the regression tests for this?
Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 415 235 3778
Remember to vote!
| Attachment | Content-Type | Size |
|---|---|---|
| fix_psql.diff | text/plain | 1.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | 王宝兵 | 2006-03-12 07:34:24 | About Buffer Flushing Function |
| Previous Message | Tatsuo Ishii | 2006-03-12 01:19:49 | Re: [PATCHES] pg_freespacemap question |