jolivac256 Posted October 3, 2023 Posted October 3, 2023 Hi there, if possible, I would like to change the postgres DB (jolivac256_mrwallace) Timezone and add an extension to allow crypting functions. I hope the following commands are enough: SET TIME ZONE 'America/Mexico_City'; CREATE EXTENSION IF NOT EXISTS pgcrypto; thank you in advance.
wolstech Posted October 4, 2023 Posted October 4, 2023 I'm not sure if the timezone can be set per database in PG or not... The extension will need to be created by Krydos if it's supported.
jolivac256 Posted October 4, 2023 Author Posted October 4, 2023 Ok, I hope so. Anyway, thank You Wolstech.
Krydos Posted October 4, 2023 Posted October 4, 2023 The pgcrypto externsion has been created. For the timezone the proper way to handle it is in your software. For instance if you're using PHP you could use date_default_timezone_set('America/Mexico_City'); Another alternative is you could get a VPS and set the time zone however you want. 1
jolivac256 Posted October 4, 2023 Author Posted October 4, 2023 Hi Krydos, You're right, there are some options to manage timezones, and the vps alternative. Thank you!
Recommended Posts