Re: Tighten pg_get_object_address argument checking

2022-09-21 Thread Peter Eisentraut
On 21.09.22 12:01, Amit Kapila wrote: On Tue, Sep 20, 2022 at 11:14 PM Peter Eisentraut wrote: For publication schemas (OBJECT_PUBLICATION_NAMESPACE) and user mappings (OBJECT_USER_MAPPING), pg_get_object_address() checked the array length of the second argument, but not of the first argument.

Re: Tighten pg_get_object_address argument checking

2022-09-21 Thread Amit Kapila
On Tue, Sep 20, 2022 at 11:14 PM Peter Eisentraut wrote: > > For publication schemas (OBJECT_PUBLICATION_NAMESPACE) and user > mappings (OBJECT_USER_MAPPING), pg_get_object_address() checked the > array length of the second argument, but not of the first argument. > If the first argument was too l

Tighten pg_get_object_address argument checking

2022-09-20 Thread Peter Eisentraut
Peter Eisentraut Date: Tue, 20 Sep 2022 13:37:27 -0400 Subject: [PATCH] Tighten pg_get_object_address argument checking For publication schemas (OBJECT_PUBLICATION_NAMESPACE) and user mappings (OBJECT_USER_MAPPING), pg_get_object_address() checked the array length of the second argument, but not of the