PQfname
Function
Returns the column name associated with the given column number. Column numbers start from 0. The caller should not release the result directly. The result will be released when the associated PGresult handle is passed to PQclear.
Prototype
char* PQfname(const PGresult* res, int field_num);
Parameter
Keyword |
Parameter Description |
---|---|
res |
Operation result handle. |
column_number |
Number of columns. |
Return Value
char pointers
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot