TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Postgres 11 – A First Look

390 点作者 samaysharma超过 6 年前

12 条评论

nathan_f77超过 6 年前
&gt; Fear column addition no more<p>This section was really surprising to read! I use the strong_migrations [1] gem to catch &quot;NOT NULL column with a default value&quot;, because it&#x27;s such a common mistake.<p>I guess I had assumed that this was just something we had to accept, based on decades of architecture decisions, and the way that Postgres was written. It never occurred to me that it was actually possible to change the default behavior of Postgres and fix the underlying issue.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ankane&#x2F;strong_migrations#adding-a-column-with-a-default-value" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ankane&#x2F;strong_migrations#adding-a-column-...</a>
评论 #18046031 未加载
jorams超过 6 年前
&gt; Now you can quit Postgres by simply typing quit or exit. Previously you had to use Ctrl + D or \q<p>While this is good to help out beginners a bit, people should really learn Ctrl + D. It works practically everywhere and saves tons of time guessing&#x2F;remembering and even typing the correct incantation for the program you want to exit.
评论 #18044077 未加载
评论 #18044955 未加载
评论 #18043954 未加载
评论 #18046624 未加载
评论 #18044028 未加载
评论 #18044602 未加载
评论 #18044002 未加载
评论 #18043910 未加载
评论 #18044120 未加载
kstrauser超过 6 年前
A million things like this are why PostgreSQL is the only relational database I consider for, well, pretty much anything. Their approach of “build it safe and then make it fast” has been paying off in spades for a couple of decades now. Thanks for everything you do, psql maintainers!
评论 #18044380 未加载
评论 #18045368 未加载
mmartinson超过 6 年前
Thank you pg maintainers, you&#x27;ve made such a wonderful thing.
评论 #18043970 未加载
ahartmetz超过 6 年前
I have a serious problem with Postgres. Every year at FOSDEM, some of the most technically interesting talks are about Postgres, and the room is always far too small so I can&#x27;t get in.
评论 #18044849 未加载
评论 #18045784 未加载
kbumsik超过 6 年前
One thing the OP didn’t mention is that the JIT is not enabled by default. They found that it has performance improvements for only long and complex queries yet. [1] But it can be enabled by a simple configuration command: jit = on.<p>[1]: <a href="https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=news_item&amp;px=PostgreSQL-JIT-No-11-Default" rel="nofollow">https:&#x2F;&#x2F;www.phoronix.com&#x2F;scan.php?page=news_item&amp;px=PostgreS...</a>
评论 #18044325 未加载
shrumm超过 6 年前
I’m already loving PG10’s native partitioning support. PG11 closes the loop on a few convenience features like being able to set foreign and primary keys at the master table level. With PG10 I can’t use ON CONFLICT clauses - looking forward to upgrading and sorting that out.
评论 #18045255 未加载
评论 #18044563 未加载
Nelkins超过 6 年前
I&#x27;m excited for hash partitioning. Being able to partition on a uuid is going to be very useful.
dkubb超过 6 年前
I love Postgres, but the only thing I find myself wishing for was better Unicode support in the regex engine. I like to add strong database constraints, and sometimes lean on the regexp engine but I find it&#x27;s missing a lot of features available in other regexp engines. PCRE compatibility would be ideal, but even just support for the Unicode \p classes would be a big step up.
ggm超过 6 年前
I love PG. heaps better than the alternatives, for many reasons. My main one, is native IPv6 object support.<p>I found the migration from 9.x to 10.x deeply painful, I think the one-time cost of the dump-restore cycle hurt me far more than I expected. I very much hope the transition to 11 can be done more expeditiously.
评论 #18044933 未加载
评论 #18044006 未加载
deytempo超过 6 年前
What are some reasons I might consider Postgres over MySQL when choosing a DB platform?
评论 #18044579 未加载
评论 #18044858 未加载
评论 #18044994 未加载
评论 #18044644 未加载
brightball超过 6 年前
Great looking release. I’m really excited to see if the cstore extension can make good use of the parallelism improvements.
评论 #18044807 未加载