Thread: Bug in handling OID numbers, surfacing with numbers > 2^31?

Bug in handling OID numbers, surfacing with numbers > 2^31?

From
Erwin Brandstetter
Date:
Hi developers!

It would seem that pgAdmin4 pastes OID numbers as numeric literals instead of string literals, if this report can be trusted:


Leads to sneaky errors with OIDs beyond 2^31. Details in the added answer there. I did not recreate the issue as its hard to fake those OIDs.

Do you want me to add a bug report in Redmine?

Regards
Erwin

Re: Bug in handling OID numbers, surfacing with numbers > 2^31?

From
Khushboo Vashi
Date:
Hi,

The bug is already logged, please watch the progress for this issue @ https://redmine.postgresql.org/issues/4526.

Thanks,
Khushboo



On Fri, Sep 6, 2019 at 10:07 PM Erwin Brandstetter <brsaweda@gmail.com> wrote:
Hi developers!

It would seem that pgAdmin4 pastes OID numbers as numeric literals instead of string literals, if this report can be trusted:


Leads to sneaky errors with OIDs beyond 2^31. Details in the added answer there. I did not recreate the issue as its hard to fake those OIDs.

Do you want me to add a bug report in Redmine?

Regards
Erwin