Tag: Open Source

Community

Always use decimal for money

(Noel Herrick) Data types make all the difference in the world when you’re designing your database. The choices you make now will affect the quality of your data, as well as application performance. I’m going to focus on one issue in this article: why you should always use decimals to represent mone

Community

Normal User As Super User

(Dinesh Kumar) Recently i faced a problem with some catalog views, which do not give you the complete information as a normal user. For example, take pg_stat_activity, pg_stat_replication, pg_settings, e.t.c. If we run the above catalog views as non super user, you don’t get the result what we get a

Community

Almost a crosstab using JSON

(Andrew Dunstan) Most of the recent focus on the new json facilities has been on jsonb. This is understandable – it shows great promise, and a lot of people put in a lot of work on it. Besides myself, there were Teodor Sigaev, Oleg Bartunov, Alexander Korotkov and Peter Geoghegan as principal author