aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_postgres.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-12 18:15:12 -0700
committerzotlabs <mike@macgirvin.com>2016-10-12 18:15:12 -0700
commit9bb847bb07ec017eb8e2ebb2764b7e34acf5e619 (patch)
tree801e83538f88a96966887a31dd7c10eb951c93e5 /include/dba/dba_postgres.php
parent40bfce463d13a82a30ae590d650b916a051b8d31 (diff)
downloadvolse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.tar.gz
volse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.tar.bz2
volse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.zip
remove the rest of the backticks from sql queries; replace with TQUOT const which is driver dependent
Diffstat (limited to 'include/dba/dba_postgres.php')
-rw-r--r--include/dba/dba_postgres.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dba/dba_postgres.php b/include/dba/dba_postgres.php
index 03b29d703..ae3e5a76f 100644
--- a/include/dba/dba_postgres.php
+++ b/include/dba/dba_postgres.php
@@ -7,6 +7,7 @@ class dba_postgres extends dba_driver {
const INSTALL_SCRIPT='install/schema_postgres.sql';
const NULL_DATE = '0001-01-01 00:00:00';
const UTC_NOW = "now() at time zone 'UTC'";
+ const TQUOT = '"';
function connect($server,$port,$user,$pass,$db) {
if(!$port) $port = 5432;