#285 closed defect (fixed)
psDBDumpCols return value
| Reported by: | Owned by: | jhoblitt | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In SDR-11 section 5.5.2, the function psDBDumpCols is to return a psArray of
psVector. What should the function do if a column is non-numeric(string)?
Note:
See TracTickets
for help on using tickets.

Lets change the prototype to:
psMetadata *psDBDumpCols(psDB *dbh, const char *tableName);
And the definition to:
Fetch all columns, as either a psVector or a psArray depnding on whether or not
the column is numeric, and return them in a psMetadata structure where
psMetadataItem.name contains the column's name.