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

4.6.x
Dries Buytaert 2005-01-07 19:18:05 +00:00
parent 0f91dce414
commit 61783651ed
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}