Git Product home page Git Product logo

pg_readme's People

Contributors

bigsmoke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hharzer

pg_readme's Issues

pg_extension_readme() does not list UDFs in extension

First congrats on baking this extension.

I tried to test this extension on Citus extension.

On my local environment, I built pg_readme from source and installed it. I have some other extensions installed as well.

SELECT e.extname AS "Name", e.extversion AS "Version", n.nspname AS "Schema"
FROM pg_catalog.pg_extension e
	LEFT JOIN pg_catalog.pg_namespace n ON n.oid = e.extnamespace
	LEFT JOIN pg_catalog.pg_description c ON c.objoid = e.oid AND c.classoid = 'pg_catalog.pg_extension'::pg_catalog.regclass
ORDER BY 1;
+----------------+---------+------------+
|      Name      | Version |   Schema   |
+----------------+---------+------------+
| citus          | 11.2-1  | pg_catalog |
| citus_columnar | 11.2-1  | pg_catalog |
| hstore         | 1.8     | public     |
| pg_readme      | 0.5.5   | public     |
| plpgsql        | 1.0     | pg_catalog |
+----------------+---------+------------+
(5 rows)

Citus has 100+ objects: tables, UDFs, GUCs, types etc. None of them are listed on the generated readme.

SELECT pg_extension_readme('citus');
+------------------------------------------------------+
|                 pg_extension_readme                  |
+------------------------------------------------------+
| ---                                                 +|
| pg_extension_name: citus                            +|
| pg_extension_version: 11.2-1                        +|
| pg_readme_generated_at: 2023-01-25 16:29:23.03844+03+|
| pg_readme_version: 0.5.5                            +|
| ---                                                 +|
|                                                     +|
| Citus distributed database                           |
+------------------------------------------------------+
(1 row)

Do you have any pointers on how to get this working?

Cannot install via pgxn: gmake: *** No rule to make target 'pg_readme-0.3.5.control', needed by 'all'. Stop.

Using pgenv and pgxn, I cannot install pg_readme successfully.

Steps:

  • pgxn install pg_readme
  • observe the result

expected: the installation is successful

actual: i have the following error:

INFO: best version: pg_readme 0.3.5
INFO: saving /tmp/tmpz7xe6q5h/pg_readme-0.3.5.zip
INFO: unpacking: /tmp/tmpz7xe6q5h/pg_readme-0.3.5.zip
INFO: building extension
gmake: *** No rule to make target 'pg_readme-0.3.5.control', needed by 'all'.  Stop.
ERROR: command returned 2: gmake PG_CONFIG=/home/augustin/pgsql/bin/pg_config all

Thanks!

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.