treasure-data / prestogres

PostgreSQL protocol gateway for Presto distributed SQL query engine
Other
292 stars 61 forks source link

Do not drop 'public' schema in setup_system_catalog #48

Open agarstang opened 8 years ago

agarstang commented 8 years ago

It appears Prestogres requires prestogres_init_database on every connection. This is created in the 'public' schema when using 'prestogres-ctl migrate'. If the 'public' schema is dropped then we lose this function.