From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Strange code in initdb |
Date: | 2004-10-15 04:24:34 |
Message-ID: | 200410150424.i9F4OY008992@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I have modified these reports so they print the full path used.
Typical pg_dumpall output is:
The program "pg_dump" is needed by pg_dumpall but was not found in the
same directory as "/usr/local/postgres/bin/pg_dumpall".
Check your installation.
---------------------------------------------------------------------------
Peter Eisentraut wrote:
> What is this trying to tell us?
>
> if (ret == -1)
> fprintf(stderr,
> _("The program \"postgres\" is needed by %s "
> "but was not found in the same directory as \"%s\".\n"
> "Check your installation.\n"),
> progname, progname);
> else
> fprintf(stderr,
> _("The program \"postgres\" was found by %s "
> "but was not the same version as \"%s\".\n"
> "Check your installation.\n"),
> progname, progname);
>
> Shouldn't the second progname be argv[0] or something else that contains
> the full path?
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 4.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-10-15 05:13:36 | Re: First set of OSDL Shared Mem scalability results, some wierdness ... |
Previous Message | Abhijit Menon-Sen | 2004-10-15 01:50:18 | Re: libpq and prepared statements progress for 8.0 |