Return only non-null columns - Mailing list pgsql-general

From Dorian Hoxha
Subject Return only non-null columns
Date
Msg-id CANsFX05UT+LArSm-45eoFwuhV528M9vVzpVgJ3aMTvx0+dsNXQ@mail.gmail.com
Whole thread Raw
Responses Re: Return only non-null columns
List pgsql-general
Is it possible to:

SELECT * FROM table

But to return only non-null columns ?
Since i use psycopg2 with DictCursor (a hashtable) it's better for me when i don't have the column that to have it as NULL.

Thanks

pgsql-general by date:

Previous
From: Gabriel Sánchez Martínez
Date:
Subject: Re: Partitioned table question
Next
From: Pavel Stehule
Date:
Subject: Re: Return only non-null columns