Re: pg_dump oid representation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump oid representation
Date: 2003-10-15 04:08:47
Message-ID: 12489.1066190927@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Manuel Sugawara <masm(at)fciencias(dot)unam(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-15 06:09:27 Re: postgres --help-config
Previous Message Tom Lane 2003-10-15 03:48:48 Re: postgres --help-config