GithubHelp home page GithubHelp logo

Comments (1)

kovdb75 avatar kovdb75 commented on July 30, 2024

Hi!

Unfortunately I don't have your configuration Red Hat 8.3.1-5, gcc 8.3.1.
I tried to see problem on my Ubuntu 22.04 + gcc-11.
I created directory "builds" and then:

  1. Commands inside directory "builds":
git clone git://git.postgresql.org/git/postgresql.git
git clone https://github.com/postgrespro/pg_pathman
  1. Commands inside "postgresql" directory:
git checkout REL_10_STABLE
./configure --enable-debug --enable-tap-tests --enable-cassert --with-icu --prefix `pwd`/install >/dev/null && make -j4 -s && make -j4 -C contrib -s && make install -s && make install -C contrib -s
  1. Command inside "pg_pathman" directory:
PATH=../postgresql/install/bin:$PATH make install USE_PGXS=1 
  1. Commands inside "postgresql" directory (database creation in "builds/postgresql/data-10" directory):
./install/bin/pg_ctl initdb -w -D data-10 --options="-A trust -D data-10 -E utf-8 --no-locale -N -n"
./install/bin/pg_ctl -D data-10 start
./install/bin/createdb test
./install/bin/pg_ctl -D data-10 stop
  1. Add "shared_preload_libraries='pg_pathman'" into end of file ./data-10/postgresql.conf and start server again:
./install/bin/pg_ctl -D data-10 start
./install/bin/psql test
  1. And execute queries in psql:
CREATE SCHEMA pathman;
GRANT USAGE ON SCHEMA pathman TO PUBLIC;
CREATE EXTENSION pg_pathman WITH SCHEMA pathman;

And I don't see any error after last query ...
Could you repeat the same steps on Red Hat?

from pg_pathman.

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.