This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server-data/db-structure/tests/user/040-functions/026-technology-dependencies/060-technology-dependencies-view.sql
Emmanuel BENOîT e01eab9c09 Technology dependencies view
* Added SQL view that lists dependencies of technologies as
comma-separated lists of identifiers
2012-02-29 11:50:04 +01:00

15 lines
No EOL
322 B
PL/PgSQL

/*
* Test privileges on defs.technology_dependencies_view
*/
BEGIN;
\i utils/strings.sql
SELECT plan( 1 );
SELECT diag_test_name( 'defs.technology_dependencies_view - No SELECT privilege' );
SELECT throws_ok( $$
SELECT * FROM defs.technology_dependencies_view;
$$ , 42501 );
SELECT * FROM finish( );
ROLLBACK;