Emmanuel BENOîT
4f083830f2
* Added table that will contain the cached technology dependencies. * Implemented trigger functions that update the cache and make sure there are no cycles or redundancies in the technology graph. * The following SQL files need to be (re-)executed: -> 030-data/080-techs.sql (for the defs.techdep_cache table) -> 040-functions/026-technology-dependencies.sql (new file)
14 lines
No EOL
290 B
PL/PgSQL
14 lines
No EOL
290 B
PL/PgSQL
/*
|
|
* Test privileges on defs.tdcache_set_child( )
|
|
*/
|
|
BEGIN;
|
|
|
|
SELECT plan( 1 );
|
|
|
|
SELECT diag_test_name( 'defs.tdcache_set_child( ) - No EXECUTE privilege' );
|
|
SELECT throws_ok( $$
|
|
SELECT defs.tdcache_set_child( FALSE , 1 , 2 , 3 );
|
|
$$ , 42501 );
|
|
|
|
SELECT * FROM finish( );
|
|
ROLLBACK; |