Search Postgresql Archives

Get column list from Postgres Query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to get the names, the type and the length of all columns in a postgres query using c-api calls.
For example from: 
SELECT customers.id, customers.name, transaction.date, transaction.amount FROM customers, transactions

I must get:

customers.id, 
transaction.date, 
transaction.amount 

How can I  achieve this??

Thanks in advance

___________________________________
Panos Germanis
Software Engineer
mob: 6944339998

"Peace cannot be kept by force. It can only be achieved by understanding."
(Albert Einstein)

<<attachment: smime.p7s>>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux