Re: [HACKERS] Datatyp of a column

2013-11-11 Thread Tom Lane
Ishaya Bhatt ishayabh...@gmail.com writes: In the sorting code, I need to determine the datatype of my sort keys and call some code conditionally based on the datatype. Is there any way to determine the datatype of a column from the *backend* PostGreSQL code. is the datatype of the column

Re: [HACKERS] Datatyp of a column

2013-11-11 Thread Ishaya Bhatt
Yes!! Thats exactly what I was looking for !! Thanks :) On Mon, Nov 11, 2013 at 7:58 PM, Tom Lane t...@sss.pgh.pa.us wrote: Ishaya Bhatt ishayabh...@gmail.com writes: In the sorting code, I need to determine the datatype of my sort keys and call some code conditionally based on the