This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To help you with the process of converting a MySQL app to PostgreSQL, I collected a list of differences between MySQL and PostgreSQL (PG). | |
| Important changes: | |
| * Strings are quoted with '...' or with $token$...$token$. Single-quotes are escaped with single-quotes. | |
| * Identifiers are folded to lowercase, unless they are quoted with "..." which makes them case-sensitive | |
| * The max identifier length is 63 | |
| * There are some system columns that cannot be used as an identifier (probably not a problem) | |
| * Expressions are evaluated in arbitrary order, so WHERE x > 0 AND y/x > 1.5 can lead to a division by zero and has to be replaced with WHERE CASE WHEN y > 0 THEN y/x > 1.5 ELSE FALSE END | |
| * SELECT CASE WHEN x > 0 THEN x ELSE 1/0 END would still lead to a division by zero because the constant 1/0 is evaluated even before the query starts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Optimized MySQL configuration for cPanel servers by Kani Baspinar - Updated June 2016 | |
| # | |
| # The settings provided below are a starting point for a 24GB RAM server with 8 CPU cores. | |
| # If you have less or more resources available you MUST adjust accordingly to save CPU, RAM and disk I/O usage. | |
| # To fine tune these settings for your system, use MySQL DB diagnostics tools like: | |
| # Test your configuration ; https://launchpad.net/mysql-tuning-primer | |
| # or | |
| # http://blog.mysqltuner.com/download/ | |
| # Note that if there is NO comment beside a setting, then you don't need to adjust it. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install : | |
| `dotnet add package Google.Cloud.Logging.V2` |
OlderNewer