The attached patch is a preparation to rework implementation of DROP statement
using a common code. That intends to apply get_object_address() to resolve name
of objects to be removed, and eventually minimizes the number of places to put
Its first step is an enhancement of get_object_address; to accept 'missing_ok'
argument to handle cases when IF EXISTS clause is supplied.
If 'missing_ok' was true and the supplied name was not found, the patched
get_object_address() returns an ObjectAddress with InvalidOid as objectId.
If 'missing_ok' was false, its behavior is not changed.
KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2011-06-14 12:08:22|
|Subject: Re: pg_trgm: unicode string not working|
|Previous:||From: Robert Haas||Date: 2011-06-14 12:02:57|
|Subject: Re: 9.1 beta1 error|