tbl_col_count
tbl_col_count ([oid])
This function returns the number of columns in the table given by object identifier oid. If oid is omitted, this function returns the number of columns in the table containing the cursor. Returns —1 if the cursor is not inside a table.
Related Topics