Prev: [HACKERS] Building the 64-bit Postgres
Next: [HACKERS] tsvector pg_stats seems quite a bit off.
From: Tom Lane on 19 May 2010 14:15 Bogdan Vlad <bogdancvlad(a)gmail.com> writes: > How can I determine the pg_class oid of the argument type in a > polymorphic C function when it's called with a table row? You're confusing pg_class oid with pg_type oid. The type oid of the function argument is necessarily going to be a *type* oid. You can look at the pg_type row to find the associated pg_class oid, if it's a composite type (it might not be!) regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
|
Pages: 1 Prev: [HACKERS] Building the 64-bit Postgres Next: [HACKERS] tsvector pg_stats seems quite a bit off. |