Ticket #5 (closed defect: fixed)
Schema-Qualify the _global_ids Sequence
| Reported by: | guest | Owned by: | fumanchu |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | assertions | Keywords: | |
| Cc: |
Description
And here's another issue I ran into: the "test" schema isn't in my search_path, so nextval('_global_ids') didn't work. The fix:
Index: epic.sql
===================================================================
--- epic.sql (revision 28)
+++ epic.sql (working copy)
@@ -254,7 +254,7 @@
creator text;
BEGIN
IF name IS NULL THEN
- tablename := '_global_' || nextval('_global_ids');
+ tablename := '_global_' || nextval('test._global_ids');
ELSE
tablename := name;
END IF;
Change History
Note: See
TracTickets for help on using
tickets.
