table.column in query results?

From: Andrew Klaassen <clawsoon(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: table.column in query results?
Date: 2009-07-22 21:14:23
Message-ID: 126600.21837.qm@web65414.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is it possible to get table.column in query results rather than just column?

I.e. I'd like:

SELECT * FROM foo, bar;
foo.id | foo.name | bar.id | bar.text
-------+----------+--------+---------
...

...rather than:

SELECT * FROM foo, bar;
id | name | id | text
---+------+----+-----
...

Thanks.

Andrew

__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2009-07-22 21:41:41 Re: Select Column Auditing/Logging
Previous Message Andreas Wenk 2009-07-22 21:02:35 Re: psql \du [PATCH] extended \du with [+] - was missing