Function for retreiving datatype

From: Brendan Jurd <blakjak(at)blakjak(dot)sytes(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Function for retreiving datatype
Date: 2005-01-10 16:28:08
Message-ID: 41E2AD18.7090007@blakjak.sytes.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does postgres have a function to determine the data type of an
argument? I'm looking for something analogous to PHP's gettype
function. I had a look through the documentation and did a few likely
pattern searches with \df. Nothing came up.

Apologies in advance if the answer is obvious.

Cheers

BJ

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2005-01-10 16:34:46 Re: does "select count(*) from mytable" always do a seq
Previous Message Sven Willenberger 2005-01-10 16:16:03 Re: handing created and updated fields