Skip site navigation (1) Skip section navigation (2)

Re: date_part function

From: Charles Curley <ccurley(at)trib(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: date_part function
Date: 2000-12-30 00:13:14
Message-ID: 20001229171314.F14072@trib.com (view raw or flat)
Thread:
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(at)\h \$ \[\033]0;xterm \h:\w\007\]'
else
  PS1='\u(at)\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

In response to

pgsql-novice by date

Next:From: Tom LaneDate: 2000-12-30 04:25:28
Subject: Re: newbie sql question re: subqueries, order by, and limit
Previous:From: John BurskiDate: 2000-12-29 21:56:58
Subject: Re: date_part function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group