Skip to content

Cannot set pgmemcache.default_servers at database or role level #44

@brailateo

Description

@brailateo

I thought that GUC variables can be set at database or role level:

testdb=# ALTER DATABASE testdb SET pgmemcache.default_servers='localhost:11211';
ALTER DATABASE
testdb=# SELECT memcache_get('C22072631');
ERROR:  pgmemcache: memcached_get: NO SERVERS DEFINED

testdb=# ALTER ROLE teo SET pgmemcache.default_servers='localhost:11211';
ALTER ROLE
testdb=# SELECT memcache_get('C22072631');
ERROR:  pgmemcache: memcached_get: NO SERVERS DEFINED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions