Re: date_part function

Charles Curley <ccurley@trib.com>

From: Charles Curley <ccurley@trib.com>
To: pgsql-novice@postgresql.org
Date: 2000-12-30T00:13:14Z
Lists: pgsql-novice
On Fri, Dec 29, 2000 at 03:56:58PM -0600, John Burski wrote:
> My bad!!
> 
> I was reading the docs for 7.0.3 (which I've installed on my workstation)
> and ssh'd across to a different box using an older version (6.5.2).  Too
> many xterms running at the same time.  Sheesh!  I need a vacation!

You may need a vacation, but you also need to set your shell prompt up to
set the xterm's title bar to indicate the host and working directory. For
bash:


# Show path in xterm title bar. Originally from Russel & Crawford, "Unix &
# Linux Answers", Osborne, 1998

if [ "$TERM" = xterm ]; then
  PS1='\u@\h \$ \[\033]0;xterm \h:\w\007\]'
else
  PS1='\u@\h \w \\$ '
fi



-- 

		-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley