SPI_getnspname

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
Thread:
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

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Fuhr 2005-03-24 04:23:43 Re: PL/Python patch for Universal Newline Support
Previous Message Neil Conway 2005-03-24 00:35:17 Re: Faster install-sh in C