Re: SPI_getnspname

Lists: pgsql-patches
From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: SPI_getnspname
Date: 2005-03-24 02:01:03
Message-ID: 42421F5F.5040104@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

I noticed there is an SPI API function to get the name of a specified
Relation, but no similar function to get the Relation's namespace.
Attached is a patch that implements SPI_getnspname().

I wasn't sure if I should refer to the relation's "schema" or its
"namespace"; my feeling was that SPI is sufficiently close to the
internals that we should use the internal term, which is namespace.

Barring any objections, I'll apply this later today.

-Neil

Attachment Content-Type Size
spi_getnspname-2.patch text/x-patch 3.0 KB

From: Neil Conway <neilc(at)samurai(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: SPI_getnspname
Date: 2005-03-29 02:54:07
Message-ID: 4248C34F.6000106@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Neil Conway wrote:
> I noticed there is an SPI API function to get the name of a specified
> Relation, but no similar function to get the Relation's namespace.
> Attached is a patch that implements SPI_getnspname().

Applied.

-Neil