Emmanuel BENOîT
56eddcc4f0
* Added a set of tables which define game updates and their targets. These definitions replace the old enumerate type. Added a set of triggers which automatically create specific update tables, insert missing entries, etc... when game update types are being manipulated. * Removed manual insertion of game updates from empire creation function and universe generator. * Added registration of core update targets (i.e. planets and empires), updated all existing game update processing functions and added type registrations * Created Maven project for game updates control components, moved existing components from the -simple project, rewritten most of what they contained, added new components for server-side update batch processing
11 lines
No EOL
279 B
PL/PgSQL
11 lines
No EOL
279 B
PL/PgSQL
/*
|
|
* Test privileges on sys.tgf_updtgt_after_insert()
|
|
*/
|
|
BEGIN;
|
|
SELECT plan( 1 );
|
|
|
|
SELECT diag_test_name( 'sys.tgf_updtgt_after_insert() - No EXECUTE privilege' );
|
|
SELECT throws_ok( $$ SELECT sys.tgf_updtgt_after_insert( ) $$ , 42501 );
|
|
|
|
SELECT * FROM finish( );
|
|
ROLLBACK; |