This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: 'pgplsh' on Cygwin
- From: <sbremal at hotmail dot com>
- To: marco atzeri <marco dot atzeri at gmail dot com>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 24 Oct 2013 15:36:55 +0000
- Subject: RE: 'pgplsh' on Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <DUB126-W40D94C295FABE0CA351F6EA90C0 at phx dot gbl>,<52693A98 dot 3080902 at gmail dot com>
Hi
It is done with the usual:
./configure
make
make install
Project is available here:
http://pgfoundry.org/projects/plsh/
The version I am working with is:
http://pgfoundry.org/frs/download.php/1534/pgplsh-1.3.tar.gz
The INSTALL is not too verbose, looks like standard build, works perfectly on FreeBSD.
Any help is welcome. Thanks.
Cheers
Balazs
---
INSTALL:
PL/sh Installation Instructions
===============================
You need to have PostgreSQL 7.4 or later, and you need to have the
server include files installed.
To build and install PL/sh, use this procedure:
./configure --prefix=YOUR_CHOICE
make
make install
The include files are found using the pg_config program that is
included in the PostgreSQL installation. To use a different
PostgreSQL installation, point configure to a different pg_config like
so:
./configure ... PG_CONFIG=/else/where/pg_config
Note that generally server-side modules such as this one have to be
recompiled for every major PostgreSQL version (that is, 7.4, 8.0,
...).
To declare the language in a database, use
psql -d DBNAME -f PREFIX/share/pgplsh/createlang_pgplsh.sql
with a server running. To drop it, use "droplang plsh", or DROP
FUNCTION plsh_handler(); DROP LANGUAGE plsh; if you want to do it
manually.
If you checked out the source code from CVS, run "autoreconf -i" first
to set up the build infrastructure.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple