Re: Getting the oid of an anyelement

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Scott Bailey <artacus(at)comcast(dot)net>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Getting the oid of an anyelement
Date: 2009-09-10 19:46:17
Message-ID: 162867790909101246h72e7f555t47dfb1a26f06d0d0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2009/9/10 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Scott Bailey <artacus(at)comcast(dot)net> writes:
>> Specifically, I'm trying to make a function like Oracle's dump that will
>> take anything as input and return the internal representation of it. So
>> I want to determine what type was passed in and call the appropriate
>> send function.
>
> You would need to write that in C.
>

You don't need write it. orafce has it.

http://archives.postgresql.org/pgsql-committers/2009-02/msg00197.php

regards
Pavel Stehule

>                        regards, tom lane
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Bailey 2009-09-10 20:21:15 Re: Getting the oid of an anyelement
Previous Message Tom Lane 2009-09-10 19:01:41 Re: Getting the oid of an anyelement