https://github.com/flightaware/pltcl94
https://github.com/flightaware/pltcl94
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flightaware/pltcl94
- Owner: flightaware
- Created: 2017-09-11T16:42:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T17:01:57.000Z (almost 9 years ago)
- Last Synced: 2025-06-07T17:08:27.202Z (about 1 year ago)
- Language: C
- Size: 70.3 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stand-alone version of Postgres pl/tcl
This repository is meant to facilitate development and potential release of pl/tcl
features outside of the normal Postgres release process.
# Building
In order to build from this repository, you must have a checkout of the full Postgres
source code. In that checkout, make certain that you can build and run pl/tcl. IE:
```
cd src/pl/tcl
make install installcheck
```
Once you're satisfied that mainline pltcl works, switch to a checkout of this repository.
You will need to set the `top_builddir` environment variable, and then you can run make.
Unlike mainline pl/tcl, `make check` is not supported; use the installcheck target instead:
```
top_builddir=$HOME/pgsql/HEAD make installcheck
```
# Accidental use of mainline pl/tcl
Because this repository depends on the main Postgres source, it's possible to accidentally
be working with the mainline pl/tcl without realizing it. The simplest way to verify that
installcheck is running the right code is to temporarily move the original pl/tcl somewhere
else:
```
top_builddir=$HOME/pgsql/HEAD mv "$top_builddir"/src/pl/tcl ${TEMP:-/tmp}
```
NOTE: even if the mainline pltcl is accidentally being used, `make` will probably still be
working within this repository. Just because make works don't assume you have the correct
pl/tcl!