[GENERAL] Return only non-null columns

2013-11-13 Thread Dorian Hoxha
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

Re: [GENERAL] Return only non-null columns

2013-11-13 Thread Pavel Stehule
Hello 2013/11/13 Dorian Hoxha dorian.ho...@gmail.com Is it possible to: SELECT * FROM table But to return only non-null columns ? no, it is not possible Regards Pavel Stehule Since i use psycopg2 with DictCursor (a hashtable) it's better for me when i don't have the column that