Re: How to Know the number of attrs?

2023-09-24 Thread Erik Wienhold
On 2023-09-24 20:56 +0800, jacktby jacktby wrote: > typedef struct TupleDescData > { > int natts; /* number of attributes > in the tuple */ > Oid tdtypeid; /* composite type ID > for tuple type */ > int32

How to Know the number of attrs?

2023-09-24 Thread jacktby jacktby
typedef struct TupleDescData { int natts; /* number of attributes in the tuple */ Oid tdtypeid; /* composite type ID for tuple type */ int32 tdtypmod; /* typmod for tuple type

How to Know the number of attrs?

2023-09-24 Thread jacktby jacktby
typedef struct TupleDescData { int natts; /* number of attributes in the tuple */ Oid tdtypeid; /* composite type ID for tuple type */ int32 tdtypmod; /* typmod for tuple type