- Patch #15254: removed hardcoded 'public' schema from the PostgreSQL backend.
parent
0f91dce414
commit
61783651ed
|
@ -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) {
|
||||||
* @} End of "ingroup database".
|
* @} End of "ingroup database".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue