match($text); if($statementMatch) { $this->PostgreSQLLogLine(substr($statementMatch->getPostMatch(), -1, 1)); } else { $functionMatch =& $postgreSQLRegexps['ContextSqlFunction']->match($text); if($functionMatch) { $this->PostgreSQLLogLine($functionMatch->getMatch(2)); } else { $this->recognized = false; $this->PostgreSQLLogLine($text); } } } function appendTo(& $logObject) { if(is_a($logObject, 'ErrorLogObject')) { $logObject->appendContext($this->text); } else { if(DEBUG && !$this->recognized) stderr('Unrecognized context or context for an error', true); $logObject->appendContext($this->text); } return false; } function isContextual() { return true; } } ?>