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 wrote: > Ishaya Bhatt 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 > >

Re: [HACKERS] Datatyp of a column

2013-11-11 Thread Tom Lane
Ishaya Bhatt 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 available in the

[HACKERS] Datatyp of a column

2013-11-11 Thread Ishaya Bhatt
Hi, 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 available in the query plan? Any help on th