Skip to content
Snippets Groups Projects
Commit 61783651 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #15254: removed hardcoded 'public' schema from the PostgreSQL backend.

parent 0f91dce4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -145,7 +145,7 @@ function db_error() { ...@@ -145,7 +145,7 @@ function db_error() {
* will be created. * will be created.
*/ */
function db_next_id($name) { 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; return $id;
} }
...@@ -234,4 +234,4 @@ function db_escape_string($text) { ...@@ -234,4 +234,4 @@ function db_escape_string($text) {
* @} End of "ingroup database". * @} End of "ingroup database".
*/ */
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment