proctrans.php
application/octet-stream
Filename: proctrans.php
Type: application/octet-stream
Part: 3
Message:
[v9.2] Fix Leaky View Problem
#!/usr/bin/php -q
<?php
$lines = file("/home/kaigai/repo/sepgsql/src/include/catalog/pg_proc.h");
foreach ($lines as $v) {
if (ereg("^DATA\(", $v)) {
$v = ereg_replace("[ ]+(f|t)[ ]+(f|t)[ ]+(f|t)[ ]+(f|t)[ ]+(i|s|v)[ ]+",
" \\1 \\2 t \\3 \\4 \\5 ", $v);
}
echo $v;
}
?>