Lines Matching refs:cols
171 if(S->cols) { in pgsql_stmt_dtor()
172 efree(S->cols); in pgsql_stmt_dtor()
173 S->cols = NULL; in pgsql_stmt_dtor()
348 if (S->cols == NULL) { in pgsql_stmt_execute()
349 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column)); in pgsql_stmt_execute()
604 struct pdo_column_data *cols = stmt->columns; in pgsql_stmt_describe() local
612 cols[colno].name = zend_string_init(str, strlen(str), 0); in pgsql_stmt_describe()
613 cols[colno].maxlen = PQfsize(S->result, colno); in pgsql_stmt_describe()
614 cols[colno].precision = PQfmod(S->result, colno); in pgsql_stmt_describe()
615 S->cols[colno].pgsql_type = PQftype(S->result, colno); in pgsql_stmt_describe()
634 switch (S->cols[colno].pgsql_type) { in pgsql_stmt_get_col()
751 add_assoc_long(return_value, "pgsql:oid", S->cols[colno].pgsql_type); in pgsql_stmt_get_column_meta()
761 switch (S->cols[colno].pgsql_type) { in pgsql_stmt_get_column_meta()
797 spprintf(&q, 0, "SELECT TYPNAME FROM PG_TYPE WHERE OID=%u", S->cols[colno].pgsql_type); in pgsql_stmt_get_column_meta()
808 switch (S->cols[colno].pgsql_type) { in pgsql_stmt_get_column_meta()