get_whatever_oid, part 1: object types with unqualifed names - Mailing list pgsql-hackers

From Robert Haas
Subject get_whatever_oid, part 1: object types with unqualifed names
Date
Msg-id AANLkTilZVdh8MP4gw4vuQcoxZtUkH2idjiVlYxvCzCTO@mail.gmail.com
Whole thread Raw
Responses Re: get_whatever_oid, part 1: object types with unqualifed names
List pgsql-hackers
Link to previous discussion:

http://archives.postgresql.org/pgsql-hackers/2010-05/msg01195.php

Attached, please find a patch which standardizes the following
interface for object types that use unqualifed names.

Oid get_whatever_oid(char *name, bool missing_ok);

It also refactors the existing code to use these functions whenever
possible.  I'm going to work up a similar path for the object types
that use qualified names, but I thought it would be a good idea to
send this first before I invest too much time in it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq should not be using SSL_CTX_set_client_cert_cb
Next
From: KaiGai Kohei
Date:
Subject: Re: ExecutorCheckPerms() hook