Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Oct 22, 2019 10:34 am


Mysql Application & Query Optimization, Questions, Indexes, Bugs.

Author Message
mandrei99
Post  Post subject: Getting Postgre SQL query output format equivalent to MySql \G  |  Posted: Wed Jun 13, 2012 7:31 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

Getting Postgre SQL query output format equivalent to MySql \G

In order to format Postgre SQL query output similar to MySql \G, expanded display needs to be turned on:

Code:
# \x
Expanded display is on.
# SELECT * FROM my_table;
-[ RECORD 1 ]------------------------+--------------------------------------------
id                                     | 2
start_time                             | 3452345345
partner_id                             | 3
location_id                            | 4
severity                               | 1






Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Getting Postgre SQL query output format equivalent to MySql \G"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Mysql convert unix timestamp to human readable format

mandrei99

0

2758

Wed Jan 14, 2015 11:36 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to calculate mysql time difference between unix timestamp column and now() format

mandrei99

0

8499

Fri May 31, 2013 4:10 am

mandrei99 View the latest post

There are no new unread posts for this topic. MySql doesn't start: libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)

debuser

0

2303

Mon Feb 22, 2010 1:43 pm

debuser View the latest post

There are no new unread posts for this topic. Mysql: add column to table

debuser

1

2975

Fri Oct 08, 2010 1:38 am

sonee4 View the latest post

There are no new unread posts for this topic. Rename MySql table

debuser

1

1549

Fri Oct 08, 2010 1:36 am

sonee4 View the latest post

There are no new unread posts for this topic. MySql rename table

admin

2

1974

Mon Nov 28, 2011 3:39 am

Darwin View the latest post

There are no new unread posts for this topic. How to use a mysql stored procedure

debuser

1

1475

Tue Nov 22, 2011 1:23 am

Darwin View the latest post

There are no new unread posts for this topic. Mysql: Cleaning binary logs

debuser

1

1920

Tue May 18, 2010 9:45 am

designeru View the latest post

There are no new unread posts for this topic. Mysql change column's default value

debuser

0

1960

Thu Aug 12, 2010 3:43 am

debuser View the latest post

There are no new unread posts for this topic. Mysql drop (remove) unique key

mandrei99

0

1877

Wed Jan 14, 2015 7:53 pm

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 1 guest
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO