Set the path to virtualenvs in the Makefile
Also, version the virtualenv
This commit is contained in:
10
src/pg/sql/03_random_seeds.sql
Normal file
10
src/pg/sql/03_random_seeds.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Internal function.
|
||||
-- Set the seeds of the RNGs (Random Number Generators)
|
||||
-- used internally.
|
||||
CREATE OR REPLACE FUNCTION
|
||||
_cdb_random_seeds (seed_value INTEGER) RETURNS VOID
|
||||
AS $$
|
||||
plpy.execute('SELECT cdb_crankshaft._cdb_crankshaft_activate_py()')
|
||||
from crankshaft import random_seeds
|
||||
random_seeds.set_random_seeds(seed_value)
|
||||
$$ LANGUAGE plpythonu;
|
||||
Reference in New Issue
Block a user