Thread: psql weirdness in HEAD

psql weirdness in HEAD

From
Christopher Kings-Lynne
Date:
I run psql and I get this:

-bash-2.05b$ psql template1
Welcome to psql 7.5devel, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms       \h for help with SQL commands       \? for help with psql commands
\gor terminate with semicolon to execute query       \q to quit
 

could not stat "/sbin/psql": mcould not stat "/bin/psql": mcould not 
stat "/usr/sbin/psql": mcould not stat "/usr/bin/psql": mcould not stat 
"/usr/games/psql": mcould not stat "/usr/local/sbin/psql": mcould not 
stat "/usr/local/bin/psql": mcould not stat "/usr/X11R6/bin/psql": 
mcould not stat "/home/chriskl/bin/psql": mtemplate1=#

I do have the tablespaces patch applied, but I can't see anything that 
could have caused this.  It seems more likely do be a relocatable 
install bug...  Maybe some leftover debug code?

Chris



Re: psql weirdness in HEAD

From
Christopher Kings-Lynne
Date:
I get a similar failure running pg_dumpall and initdb as well.

Chris

Christopher Kings-Lynne wrote:

> I run psql and I get this:
> 
> -bash-2.05b$ psql template1
> Welcome to psql 7.5devel, the PostgreSQL interactive terminal.
> 
> Type:  \copyright for distribution terms
>        \h for help with SQL commands
>        \? for help with psql commands
>        \g or terminate with semicolon to execute query
>        \q to quit
> 
> could not stat "/sbin/psql": mcould not stat "/bin/psql": mcould not 
> stat "/usr/sbin/psql": mcould not stat "/usr/bin/psql": mcould not stat 
> "/usr/games/psql": mcould not stat "/usr/local/sbin/psql": mcould not 
> stat "/usr/local/bin/psql": mcould not stat "/usr/X11R6/bin/psql": 
> mcould not stat "/home/chriskl/bin/psql": mtemplate1=#
> 
> I do have the tablespaces patch applied, but I can't see anything that 
> could have caused this.  It seems more likely do be a relocatable 
> install bug...  Maybe some leftover debug code?
> 
> Chris
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


Re: psql weirdness in HEAD

From
Bruce Momjian
Date:
Christopher Kings-Lynne wrote:
> I run psql and I get this:
> 
> -bash-2.05b$ psql template1
> Welcome to psql 7.5devel, the PostgreSQL interactive terminal.
> 
> Type:  \copyright for distribution terms
>         \h for help with SQL commands
>         \? for help with psql commands
>         \g or terminate with semicolon to execute query
>         \q to quit
> 
> could not stat "/sbin/psql": mcould not stat "/bin/psql": mcould not 
> stat "/usr/sbin/psql": mcould not stat "/usr/bin/psql": mcould not stat 
> "/usr/games/psql": mcould not stat "/usr/local/sbin/psql": mcould not 
> stat "/usr/local/bin/psql": mcould not stat "/usr/X11R6/bin/psql": 
> mcould not stat "/home/chriskl/bin/psql": mtemplate1=#
> 
> I do have the tablespaces patch applied, but I can't see anything that 
> could have caused this.  It seems more likely do be a relocatable 
> install bug...  Maybe some leftover debug code?

Just fixed.  Thanks.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073