This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 'pgplsh' on Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]