Earlier quoted context omitted.
I feel like this feature replaces almost all of Mongo's use cases!
As soon as Postgres adds the "random data loss" feature they will have a full superset of Mongo.
PostgreSQL 10 Beta 1 Released
31–40 of 172 posts
Re: PostgreSQL 10 Beta 1 Released
#32Earlier quoted context omitted.
Every time I see a job post mentioning mysql I realize they just haven't discovered postgres, or they have some really gross problem. :/
Or they want to allow for case-insensitivity of some data, like for example email addresses on login forms. As much as postgres is overall better than MySQL in so many ways, it's still ridiculously difficult to set things up such that SELECT id FROM users WHERE email='foo@example.com' returns the same result as SELECT id FROM users WHERE email='Foo@example.com'
Everyone's answer is "just lowercase everything".
I'll respond just a bit:
1. You don't always have control over all the queries that have been written against your database.
2. You would probably lose the ability to use ORMs without a moderate amount of customization.
3. If you're migrating from a different database, you may have checksums on your data that would all need to be recalculated if you change case on everything stored.
4. Doing runtime lowercase() on everything adds a bit of overhead, doesn't it?
citext on postgresql seems a decent option - the citext docs even mention drawbacks of some of the other recommended options.
Re: PostgreSQL 10 Beta 1 Released
#33PostgreSQL is an amazing project. A no-nonsense database that delivers what it promises. I'm amazed at what a talented group of people can accomplish when they are driven and put their mind to it. Thanks for a wonderful product.
A friend of mine was doing an MBA and was planning a paper on open source collaboration models. She asked me for my opinion on well-run projects and Postgres was the first thing that crossed my mind.
They have an excellent combination of goals, structure and expertise, and have created a remarkably low-drama, functional community around delivering excellent tools. I really think there's a lot to emulate there.
Re: PostgreSQL 10 Beta 1 Released
#34Re: PostgreSQL 10 Beta 1 Released
#35Re: PostgreSQL 10 Beta 1 Released
#36Will having logical replication make doing a DB version upgrade in production easier? We're using Postgres 9.4 on RDS right now, and there doesn't seem to be an upgrade path that doesn't involve some downtime.
Re: PostgreSQL 10 Beta 1 Released
#37Re: PostgreSQL 10 Beta 1 Released
#38Earlier quoted context omitted.
I feel like this feature replaces almost all of Mongo's use cases!
I'm interested. When you say almost, can you elaborate on any remaining use cases when you'd use Mongo?
Re: PostgreSQL 10 Beta 1 Released
#39Re: PostgreSQL 10 Beta 1 Released
#40I wished they would implement more from SQL:2011. I have a lot of applications that would benefit from system versioned tables. This is a good sum up of useful modern SQL features: https://www.slideshare.net/MarkusWinand/modern-sql