Code Monkey home page Code Monkey logo

Comments (4)

Ormod avatar Ormod commented on July 18, 2024

You might want to paste your pg_config to the case. The function signature it's complaining about got changed in 9.1 and pgmemcache has:

DefineCustomStringVariable("pgmemcache.default_servers",
"Comma-separated list of memcached servers to connect to.",
"Specified as a comma-separated list of host:port (port is optional).",
&globals.default_servers,
NULL,
PGC_USERSET,
GUC_LIST_INPUT,
#if defined(PG_VERSION_NUM) && (PG_VERSION_NUM >= 90100)
NULL,
#endif
assign_default_servers_guc,
NULL);

the 8th argument in 9.1+ is GucStringCheckHook and the compiler seems to think it is GucStringAssignHook (which is the bit after the ifdef, on versions before 9.1). Anyway looks like a version conflict.

from pgmemcache.

Ormod avatar Ormod commented on July 18, 2024

Hmm, the other bit about XACT_EVENT_PRE_COMMIT looks like a regression on pre-9.3. (9.2 doesn't define it at all) @saaros want to take a look at that?

from pgmemcache.

saaros avatar saaros commented on July 18, 2024

Yeah - the requirement for XACT_EVENT_PRE_COMMIT was added unconditionally in commit 2.2.0-10-g3acdf73. Fixed that in f5c1824. Thanks!

The other issues about GUC function arguments are not pgmemcache bugs; you're trying to compile pgmemcache using unsupported PostgreSQL version's headers. Check your pg_config --version

from pgmemcache.

BTEndres avatar BTEndres commented on July 18, 2024

All right. Thanks much guys, and apologies on not responding with anything (it was the middle of the night over here when all the conversation was going on).

Thanks again!

from pgmemcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.