PostgresCafe

13 posts

PostgresCafe

PostgresCafe

@PostgresCafe

PostgreSQL Tips and Tricks

انضم Eylül 2018
26 يتبع12 المتابعون
PostgresCafe
PostgresCafe@PostgresCafe·
Avoid using TIMESTAMP (WITHOUT TIME ZONE) in Postgres Use TIMESTAMPTZ when storing a specific point in time. The naive TIMESTAMP lacks time zone context, making it unsuitable for time arithmetic. It also offers no performance or storage advantage over TIMESTAMPTZ.
English
0
0
1
18
PostgresCafe
PostgresCafe@PostgresCafe·
PostgreSQL 18 Beta 1 has been released, introducing several new GUC parameters. You can explore the full list here: postgresqlco.nf/doc/en/param/. Interested in specific additions like io_method or extension_control_path? Check out their documentation for details.
English
0
1
2
43
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: FETCH FIRST WITH TIES WITH TIES is an option to the FETCH FIRST N ROWS clause, where you additionally get rows that compare equal to the last of those N rows by the columns in the mandatory ORDER BY clause. #NewFeatures #PostgreSQL13
English
0
0
0
0
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: DROP DATABASE FORCE The database can now be forcibly dropped even if there are connected users. DROP DATABASE database_name [[WITH] (FORCE)] #NewFeatures #PostgreSQL13
English
0
0
0
0
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: Incremental sort Is a way to reduce the resources used for multi-column sorting. This feature can be controlled by the 'enable_incrementalsort' parameter. The default value is 'on'. #NewFeatures #PostgreSQL13
English
0
0
1
0
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: Remove pseudo-type opaque. Remove support for "opaque" pseudo-types. This data type was used for compatibility from PostgreSQL 7.3 and earlier. #NewFeatures #PostgreSQL13
English
0
0
0
0
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: LOCALE option in CREATE DATABASE The LOCALE clause can now be specified as an option in the CREATE DATABASE statement. This is a shortcut for setting LC_COLLATE and LC_CTYPE at once. CREATE DATABASE music LOCALE 'es_NI.utf8' #PostgreSQL13
English
0
0
0
0
PostgresCafe
PostgresCafe@PostgresCafe·
Features of @PostgreSQL 13: Generate a random UUID PostgreSQL includes one function to generate a UUID without installing additional supplied modules: gen_random_uuid () → uuid #NewFeatures #PostgreSQL13
English
0
0
0
0