Project

General

Profile

WikiStart » History » Version 42

Alexey Klyukin, 07/12/2010 11:45 AM
Removed a section with contributed documentation links (all of them appeared to be dead).

1 38 Álvaro Herrera
h1. PL/php
2 1
3
Welcome to the PL/php site. PL/php is a procedural language add-on for PostgreSQL, which means you can define PHP functions that run inside a PostgreSQL server.
4 39 Álvaro Herrera
5 40 Álvaro Herrera
{{>toc}}
6 38 Álvaro Herrera
7 40 Álvaro Herrera
h1. Obtaining PL/php
8 38 Álvaro Herrera
9
10
Please see the [[Downloads]] page. Or you can get the latest sources using anonymous svn access:
11
12
<pre>
13 1
svn checkout https://projects.commandprompt.com/public/plphp/repo/trunk
14
</pre>
15
16
17 40 Álvaro Herrera
h1. Documentation
18 1
19
20 39 Álvaro Herrera
Please see the [[InstallDocs|PL/php Installation procedure]].
21 1
22 41 Álvaro Herrera
Before you can use PL/php, you need to [[CreateLang|create the language]] in the database.
23 1
24 39 Álvaro Herrera
Usage Documentation: [[Documentation|PL/php User Guide]]
25 1
26 38 Álvaro Herrera
27 40 Álvaro Herrera
h1. Support
28 1
 
29 39 Álvaro Herrera
You can join the mailing list: http://lists.commandprompt.com/mailman/listinfo/plphp
30 1
31 38 Álvaro Herrera
Or you can reach us on Freenode at the *#plphp* channel.
32 1
33 34 Álvaro Herrera
34 40 Álvaro Herrera
h1. Release History
35 38 Álvaro Herrera
36 1
37 39 Álvaro Herrera
*10/15/2007*
38 1
39 39 Álvaro Herrera
PL/php 1.3.5 Beta1 addresses PostgreSQL 8.3 compatibility and named parameters.
40 1
41
----
42
43 39 Álvaro Herrera
PL/php 1.3.3 addresses the previous phpinfo() issue as well as a bunch of others, particulary improper handling of columns with numeric names, random backend crashes etc. This is the first PL/php version with PostgreSQL 8.2 support, and autoconf/configure scripts replacing the need to edit the project's Makefile directly. It still has issues with threaded PHP build, so I recommend not using --enable-maintainer-zts when configuring your PHP library. Except for this it successfully passed all regression tests with !PostgreSQL 8.2 and PHP 5.
44 38 Álvaro Herrera
45
----
46 39 Álvaro Herrera
47 13 Álvaro Herrera
PL/php 1.3 was released on 2006-07-14.  It is virtually identical to 1.2.  There is a bug that prevents phpinfo() from working.  It does not support in/out parameters.
48 39 Álvaro Herrera
49 3 Álvaro Herrera
----
50 39 Álvaro Herrera
51 35 Álvaro Herrera
PL/php 1.2 was released on 2005-12-13.  This version adds SRF (Set-Returning Function) support.  It is also an attempt to make the build system a bit more independent of your actual setup.  In order to build it, you need to have the apxs program somewhere in your path.  Please report any incompatibility.
52 39 Álvaro Herrera
53 17 bford -
----
54 39 Álvaro Herrera
55
PL/php 1.1 was released on 2005-12-05.  This version is much cooler than the previous one because you don't have to patch PostgreSQL nor PHP sources -- actually, you don't even need those sources, so it's much easier to install than the previous 1.0 version.