Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Correct historical HISTORY info, from old mailing list archives

  • Loading branch information...
commit 2cf3ac631e4990d22c43ce144c4f4051837e9c62 1 parent 1f1341f
Alvaro Herrera authored August 09, 2010

Showing 1 changed file with 40 additions and 3 deletions. Show diff stats Hide diff stats

  1. 43  HISTORY
43  HISTORY
@@ -49,6 +49,43 @@ cleanups.
49 49
 Release 1.1
50 50
 2005-12-05
51 51
 
52  
-No patch of PostgreSQL nor PHP sources is required anymore.  The code has been
53  
-extensively reworked since the previous PL/php release.  This release links
54  
-against Apache's mod_php.so.
  52
+What's in the 1.1 release:
  53
+
  54
+- The build system no longer requires the PHP nor PostgreSQL sources.
  55
+  It uses PGXS, making it all much easier to build compared to the
  56
+  original 1.0 release.
  57
+
  58
+- Rudimentary SPI support, meaning you can send queries to the server
  59
+  and get/process the results.
  60
+
  61
+- Trigger support: you can write trigger functions, including the
  62
+  ability to abort or skip an operation, or modifying the tuple before
  63
+  insert/update.
  64
+
  65
+- Function validation: PL/php will tell you right away if the function
  66
+  you are creating has a syntax error, and abort the creation, so no
  67
+  invalid functions make it into the database.
  68
+
  69
+- You will receive any errors and warnings that PHP generates while
  70
+  executing your function.
  71
+
  72
+PL/php 1.1 only works with PostgreSQL 8.0 and 8.1.  It has been tested
  73
+with PHP 4.4.1 only, but it should work with PHP 5 as well.
  74
+
  75
+
  76
+Differences from the original 1.0 release include:
  77
+
  78
+- Error messages and warnings are passed from PHP to Postgres instead of
  79
+  being silently dropped.
  80
+- No more memory leaks in SPI functions.
  81
+- SPI results are now an opaque PHP resource, so it's no longer possible
  82
+  to crash the server by modifying it.
  83
+- Memory handling has been overhauled.  There are no known memory leaks.
  84
+  Huge SPI results can be processed.
  85
+- SRF support has been removed.  It will be added again in the next
  86
+  release.  The previous version was found to be too buggy and poorly
  87
+  thought-out.
  88
+- A private symbol table is created for each function, which facilitates
  89
+  the process of releasing memory used by the function.  This symbol
  90
+  table is cleared after each call.
  91
+

0 notes on commit 2cf3ac6

Please sign in to comment.
Something went wrong with that request. Please try again.