Syntax question

From: Tony Li <tony(dot)li(at)tony(dot)li>
To: pgsql-general(at)postgresql(dot)org
Subject: Syntax question
Date: 2004-07-06 22:42:47
Message-ID: CDB963A6-CF9D-11D8-9EF4-000A95D1475E@tony.li
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

I'm trying to write an application to allow a user to edit an arbitrary
table.
How can I determine the type of a particular field and figure out
whether or
not I should be quoting the value?

I found PQftype() and have reviewed pg_type and pg_attribute, but don't
see
a clean way of figuring this out.

Thanks,
Tony

Responses

Browse pgsql-general by date

  From Date Subject
Next Message zeus 2004-07-06 22:44:01 Grant Select privileges for all tables in schema
Previous Message Jim Seymour 2004-07-06 22:36:18 Re: Do we need more emphasis on backup?