From 61783651ed60562c93a8f12f0d3834023f49cdb3 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Fri, 7 Jan 2005 19:18:05 +0000
Subject: [PATCH] - Patch #15254: removed hardcoded 'public' schema from the
 PostgreSQL backend.

---
 includes/database.pgsql.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc
index a5c11cedd55d..8a013136aac1 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
+?>
-- 
GitLab