No description
Find a file
Cédric Villemain 21167eda4e PostgreSQL hello world extension demo
Some simple functions to illustrate Extension build system.
2023-03-28 11:59:45 +02:00
expected PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
sql PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
.gitignore PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello--c-world--world.sql PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello--universe--c-world.sql PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello--world--universe.sql PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello--world.sql PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello.c PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
hello.control PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
Makefile PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00
README.md PostgreSQL hello world extension demo 2023-03-28 11:59:45 +02:00

title subtitle
pg-hello-world Hello PostgreSQL extension!

NAME

pg-hello-world - An hello world extension for PostgreSQL

SYNOPSIS

CREATE EXTENSION hello;
SELECT hello()

DESCRIPTION

This extension illustrates how to write simple hello functions, including upgrade paths.

INSTALLATION

PostgreSQL headers and pgxs are required. On Debian, install packages like postgresql-server-dev-all and postgresql-client.

  • Build doc and shared objects:

    make
    
  • PostgreSQL will find extension:

    sudo make install
    
  • Run regression tests:

    make installcheck