* Context-sensitive online help system
* Use language preferencies from browser (Markus Bertheau, Nicola Soranzo)
* Tablespace support for 7.5
-* Support cancelling and killing backend processes in 7.5
+* Support cancelling backend processes in 7.5
* Allow setting privileges on databases
* Allow setting schema search path in SQL window
* Allow filtering find results by object type
/**
* PostgreSQL 7.5 support
*
- * $Id: Postgres75.php,v 1.15 2004/07/19 03:01:54 chriskl Exp $
+ * $Id: Postgres75.php,v 1.16 2004/08/04 02:07:03 chriskl Exp $
*/
include_once('./classes/database/Postgres74.php');
/**
* Sends a cancel or kill command to a process
* @param $pid The ID of the backend process
- * @param $signal 'CANCEL' or 'KILL'
+ * @param $signal 'CANCEL'
* @return 0 success
* @return -1 invalid signal type
*/
if ($signal == 'CANCEL')
$sql = "SELECT pg_catalog.pg_cancel_backend({$pid}) AS val";
- elseif ($signal == 'KILL')
- $sql = "SELECT pg_catalog.pg_terminate_backend({$pid}) AS val";
else
return -1;
/**
* Manage schemas within a database
*
- * $Id: database.php,v 1.56 2004/07/22 08:47:34 jollytoad Exp $
+ * $Id: database.php,v 1.57 2004/08/04 02:07:02 chriskl Exp $
*/
// Include application functions
'title' => $lang['strcancel'],
'url' => "{$PHP_SELF}?action=signal&signal=CANCEL&database=" . urlencode($_REQUEST['database']) . "&",
'vars' => array('procpid' => 'procpid')
- ),
- 'kill' => array(
- 'title' => $lang['strkill'],
- 'url' => "{$PHP_SELF}?action=signal&signal=KILL&database=" . urlencode($_REQUEST['database']) . "&",
- 'vars' => array('procpid' => 'procpid')
)
);
}
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.159 2004/08/03 09:20:16 chriskl Exp $
+ * $Id: english.php,v 1.160 2004/08/04 02:07:03 chriskl Exp $
*/
// Language and character set
$lang['strstarttime'] = 'Start Time';
$lang['strfile'] = 'File';
$lang['strfileimported'] = 'File imported.';
- $lang['strkill'] = 'Kill';
// Error handling
$lang['strnoframes'] = 'You need a frames-enabled browser to use this application.';
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
- * $Id: english.php,v 1.111 2004/08/03 09:20:16 chriskl Exp $
+ * $Id: english.php,v 1.112 2004/08/04 02:07:03 chriskl Exp $
*/
// Language and character set
$lang['strstarttime'] = 'Start Time';
$lang['strfile'] = 'File';
$lang['strfileimported'] = 'File imported.';
- $lang['strkill'] = 'Kill';
// Error handling
$lang['strnoframes'] = 'You need a frames-enabled browser to use this application.';