~ubuntu-branches/debian/sid/unixodbc/sid

« back to all changes in this revision

Viewing changes to Drivers/PostgreSQL/columninfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2004-10-15 03:07:52 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041015030752-dzw4vhxlgycz3woj
Tags: 2.2.4-11
Brown paper bag me: conflicts do not write themselves just because
you add a line to the changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        Int4    *atttypmod;                     /* the length of bpchar/varchar */
22
22
};
23
23
 
24
 
#define CI_get_num_fields(self)                 (self->num_fields)
 
24
#define CI_get_num_fields(self)                 ((self) ? (self->num_fields) : (-1))
25
25
#define CI_get_oid(self, col)                   (self->adtid[col])
26
26
#define CI_get_fieldname(self, col)             (self->name[col])
27
27
#define CI_get_fieldsize(self, col)             (self->adtsize[col])