Re: [HACKERS] COPY does not work with regproc and aclitem

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] COPY does not work with regproc and aclitem
Date: 2006-10-26 13:31:30
Message-ID: 4540B8B2.2070800@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane napsal(a):
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
>> I prepared patch which use oid output function instead regproc output.
>> This change works only for COPY TO command.
>
> This is not a bug and we're not going to fix it, most especially not
> like that.
>

OK, The behavior of regproc type is described in the documentation, but
if we don't fix it, than Some error message like "Regproc data type is
not supported by COPY TO command" could be useful. Because you find that
something is wrong when you want to restore data back and it should be
too late.

Zdenek

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-10-26 13:44:07 Re: [HACKERS] COPY does not work with regproc and aclitem
Previous Message luis garcia 2006-10-26 12:29:43 Re: Problems starting Template1...

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2006-10-26 13:34:07 Re: Tablespace for temporary objects and sort files
Previous Message Bruce Momjian 2006-10-26 13:19:18 Re: Tablespace for temporary objects and sort files