Re: BUG #14706: Dependencies not recorded properly for base types

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: khuddleston(at)pivotal(dot)io, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14706: Dependencies not recorded properly for base types
Date: 2017-06-15 06:51:30
Message-ID: CAB7nPqRUgybqbq-rBcpV_0Pp=YEhAfzxVOc0DoMKp56et4RpNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jun 15, 2017 at 3:05 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> Attached is an idea of patch, inputs welcome. Another idea would be to
> deprecate things on HEAD and cause an ERROR when doing such things.

Not completely bullet-proof actually. As SetFunctionArgType() can be
called, arguments of a function could be changed, leading to lookup
errors. Attached is an updated patch with more regression tests.
--
Michael

Attachment Content-Type Size
type-func-deps-v2.patch application/octet-stream 10.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jaroslav.zaruba 2017-06-15 07:08:53 BUG #14707: pgAdmin4 does not start
Previous Message Michael Paquier 2017-06-15 06:07:53 Re: BUG #14706: Dependencies not recorded properly for base types