Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: missing "SPI_finish" that isn't missing - Mailing list pgsql-hackers

From Tom Lane
Subject Re: missing "SPI_finish" that isn't missing
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: missing "SPI_finish" that isn't missing  (Chapman Flack <[email protected]>)
List pgsql-hackers
Chapman Flack <[email protected]> writes:
> Is there a particular, reasonably tidy idiom that has emerged as the usual,
> customary approach to a task like this?

You could construct a RangeVar node and then use RangeVarGetRelid,
but I dunno that that's really any cleaner than inquiring about it
using the syscaches.  The syscache APIs are really quite unlikely
to change in any meaningful way, if only because there's too much
code depending on them.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Avoid endless futile table locks in vacuuming.
Next
From: Fabien COELHO
Date:
Subject: Re: pgbench stats per script & other stuff