Re: [GENERAL] How to find configuration data in _PG_init()

2016-03-10 Thread david
> ow...@postgresql.org] On Behalf Of Adrian Klaver > > My language handler requires some configuration information to start > > up, which I would like to get from the file system (but it could be > > set up by an SQL query SET). Currently I’m using hard-coded paths, > > which doesn’t seem like a go

Re: [GENERAL] How to find configuration data in _PG_init()

2016-03-10 Thread Adrian Klaver
On 03/10/2016 05:24 AM, da...@andl.org wrote: My language handler requires some configuration information to start up, which I would like to get from the file system (but it could be set up by an SQL query SET). Currently I’m using hard-coded paths, which doesn’t seem like a good solution. Is the

[GENERAL] How to find configuration data in _PG_init()

2016-03-10 Thread david
My language handler requires some configuration information to start up, which I would like to get from the file system (but it could be set up by an SQL query SET). Currently I’m using hard-coded paths, which doesn’t seem like a good solution. Is there perhaps a way to get the path that was use