Jump to content

[Solved] Postgres TimeZone and Crypting functions


jolivac256

Recommended Posts

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.

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

  • Krydos changed the title to [Solved] Postgres TimeZone and Crypting functions
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...