Re: pg_dump oid representation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump oid representation
Date
Msg-id 12489.1066190927@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump oid representation  (Manuel Sugawara <masm@fciencias.unam.mx>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres --help-config
Next
From: Peter Eisentraut
Date:
Subject: Re: postgres --help-config