pg_dump oid representation
pg_dump oid representation
От:
Manuel Sugawara <masm@fciencias.unam.mx>
Дата:
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.
Re: pg_dump oid representation
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Manuel Sugawara 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