IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#285 closed defect (fixed)

psDBDumpCols return value

Reported by: Eric.VanAlst@… 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)?

Change History (4)

comment:1 by Paul Price, 21 years ago

Owner: changed from Paul Price to jhoblitt

comment:2 by jhoblitt, 21 years ago

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.

comment:3 by jhoblitt, 21 years ago

Resolution: fixed
Status: newclosed

fix is in SDRS -12

comment:4 by Eric.VanAlst@…, 21 years ago

Documentation change in SDR-12.

Note: See TracTickets for help on using tickets.