News for hackers. Stuff that matters.
Re:The Number One Trait of a Great Developer by Pxtl on Tuesday September 03, 2013 @10:36AM (#6321205)
Having only used Oracle, MSSQL, and MySQL, I can't imagine a small 500-user app would be that hard to implement in in Postgre even if I'd never touched the platform before - does Postgre have some terrifying gotchas, or does it work as a reasonably well-behaved SQL server? That is, if I naively installed a PostgreSQL server on my box and started creating tables and indexes and users, would I be destroyed by some horrible gotcha as I failed to account for some critical config (like selecting the right storage engine in MySQL)?
Re:The Number One Trait of a Great Developer by pnathan on Tuesday September 03, 2013 @11:24AM (#6321451)
It's my understanding that there are no config gotchas in PostgreSQL (unlike MySQL). I've definitely found it more of a pain to set up at first. This is because the default role is very restricted and defaults to safe.
Re:The Number One Trait of a Great Developer by skyebook on Tuesday September 03, 2013 @10:51AM (#6321280)
As someone who moved from MySQL to Postgres, the only thing that took some getting used to was users being actual Unix users that you create and then grant access to. At the time it seemed odd considering what MySQL did but it ended up being a feature I like quite a bit.
Re:The Number One Trait of a Great Developer by fusiongyro on Tuesday September 03, 2013 @11:11AM (#6321382)
PG roles are stored in the DB, not Unix. You can set up pg_hba to use ident authentication so that users are automatically granted access by their Unix login, but it isn't the default (and usually not recommended), and you still have to have PG roles in the database for them to correspond to. So I think there's been a misunderstanding.
Re:The Number One Trait of a Great Developer by Xylakant on Tuesday September 03, 2013 @11:40AM (#6321556)
They're similar, but there are some pitfalls you need to be aware of: count(*) optimisation in mysql for example. Different behaviour in the query optimiser. Most cases are easy to handle, but if you're used to mysql, there's still a learning curve.