I did the es translation of pg_dump and while looking at the code I
found that in several places the char * representation of Oid's is
used instead of the oid itself. Any one knows why is done this
way?

Regards,
Manuel.

14 Oct 2003 18:48:56 -0600
Manuel Sugawara <masm@fciencias.unam.mx>
pg_dump oid representation
Manuel Sugawara <masm@fciencias.unam.mx> writes:
> I did the es translation of pg_dump and while looking at the code I
> found that in several places the char * representation of Oid's is
> used instead of the oid itself. Any one knows why is done this
> way?

AFAIR pg_dump invariably stores OIDs as strings rather than numbers.
This is arguably inefficient, but no one's felt like expending the
effort to change it.

			regards, tom lane

Wed, 15 Oct 2003 00:08:47 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_dump oid representation 