Parsing tuple contents

From: Vignesh Raghunathan <vignesh(dot)pgsql(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Parsing tuple contents
Date: 2015-08-13 01:25:30
Message-ID: CAD_AmVig1_fpnu-t_dU97fTSQzW-55WZkQtJPLTyN17L31n2Gw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I am working on a project which requires going through each field inside a
tuple without using postgresql. I have managed to iterate through each
tuple inside a table by recycling postgres's code. However, for the part of
parsing through each field in the tuple, I am not able to think of anything
other than using a bunch of if/else or switch case statements to handle
each postgresql datatype. I looked through postgresql's code base but I am
unable to identify the part of code that might do this. Could anyone please
let me know where to look?

Thanks,
Vignesh

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-08-13 01:27:01 Re: Macro nesting hell
Previous Message Stephen Frost 2015-08-13 01:24:45 Re: Test code is worth the space