In psql, is it possible to "tail" \s (say, the last fifty lines), rather than do "\set HISTSIZE 50" and have the entire history be only 50 lines? Like 'history | tail -n 50' in the shell? thanks csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com