summaryrefslogtreecommitdiff
path: root/includes/database.pgsql.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-01-07 19:18:05 +0000
committerDries Buytaert <dries@buytaert.net>2005-01-07 19:18:05 +0000
commit61783651ed60562c93a8f12f0d3834023f49cdb3 (patch)
treebfdd0c31fc6b7b93d77ba37743bc56b2d10e8291 /includes/database.pgsql.inc
parent0f91dce4149e891b7a67fe18ff211cc95c0c4412 (diff)
downloadbrdo-61783651ed60562c93a8f12f0d3834023f49cdb3.tar.gz
brdo-61783651ed60562c93a8f12f0d3834023f49cdb3.tar.bz2
- Patch #15254: removed hardcoded 'public' schema from the PostgreSQL backend.
Diffstat (limited to 'includes/database.pgsql.inc')
-rw-r--r--includes/database.pgsql.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc
index a5c11cedd..8a013136a 100644
--- a/includes/database.pgsql.inc
+++ b/includes/database.pgsql.inc
@@ -145,7 +145,7 @@ function db_error() {
* will be created.
*/
function db_next_id($name) {
- $id = db_result(db_query("SELECT nextval('public.%s_seq')", db_prefix_tables($name)));
+ $id = db_result(db_query("SELECT nextval('%s_seq')", db_prefix_tables($name)));
return $id;
}
@@ -234,4 +234,4 @@ function db_escape_string($text) {
* @} End of "ingroup database".
*/
-?> \ No newline at end of file
+?>