Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.postgresql > #290
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Newsgroups | comp.databases.postgresql |
| Subject | default output format of timestamptz in psql |
| Date | 2011-12-31 12:40 +0100 |
| Message-ID | <9m8am9Fl58U1@mid.uni-berlin.de> (permalink) |
Hi, In my project I changed all timestamp columns to timestamp with time zone. I am used to test a lot using psql. Now the display of a timestamptz column takes up too much space. I would like to set it to a shorter format. Can this be done by setting a default psql output format somehow? I know about views and to_char() and extract, but is there a psql way of doing it? /Str.
Back to comp.databases.postgresql | Previous | Next — Next in thread | Find similar | Unroll thread
default output format of timestamptz in psql "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2011-12-31 12:40 +0100 Re: default output format of timestamptz in psql Marcos PPa PPe <marcos@asi2cotarelo.net> - 2012-02-10 09:56 +0100
csiph-web