Change the verify for season_calendar_season_id_fkey
It failed in build.opensuse.org; possibly the view in information_scheme is different.
This commit is contained in:
parent
0412ffca05
commit
dbbd06cf85
|
@ -3,14 +3,12 @@
|
||||||
begin;
|
begin;
|
||||||
|
|
||||||
select 1/count(*)
|
select 1/count(*)
|
||||||
from information_schema.constraint_column_usage
|
from pg_constraint
|
||||||
where table_catalog = 'camper'
|
where conrelid = 'camper.season_calendar'::regclass
|
||||||
and table_schema = 'camper'
|
and conname = 'season_calendar_season_id_fkey'
|
||||||
and table_name = 'season'
|
and contype = 'f'
|
||||||
and column_name = 'season_id'
|
and connamespace = 'camper'::regnamespace
|
||||||
and constraint_catalog = 'camper'
|
and pg_get_constraintdef(oid) = 'FOREIGN KEY (season_id) REFERENCES camper.season(season_id)'
|
||||||
and constraint_schema = 'camper'
|
|
||||||
and constraint_name = 'season_calendar_season_id_fkey'
|
|
||||||
;
|
;
|
||||||
|
|
||||||
rollback;
|
rollback;
|
||||||
|
|
Loading…
Reference in New Issue