PostgreSQL Columns metadata

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
sandeep_c24
Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

PostgreSQL Columns metadata

Post by sandeep_c24 »

Hi Mark

I have been looking at GetColumns for Postgres and I just can't understand the following code

Code: Select all

        else if (PgType = 'numeric') or (PgType = 'decimal') then
        begin
          AttTypMod := GetInt(8) - 4;
          Result.UpdateInt(7, (AttTypMod shr 16) and $FFFF);
          Result.UpdateInt(9, AttTypMod and $FFFF);
          Result.UpdateInt(10, 10);
        end
Could you please get someone to look at this?

Do you think it is possible to use information_schema.columns to get the columns info?

Where could I send you the file that I have changed so far? I would like you or someone else to just check what I have been doing and point out any problems. I would prefer to send the zip of all the changed files.

Regards

Sandeep
Post Reply