Live data from Hacker News

Viewing profile — postgressomethi

postgressomethi

HN member
Joined
Fri, Apr 02, 2021, 9:21 PM UTC
HN karma
52
Public activity
19 items

About postgressomethi

No profile information was provided.

Recent public activity

  1. comment
    Comment #41278886

    I always thought there should be a two-arg overload of new, so you could write new(bool, true) or new(int, 20). Would solve the problem without any trickery.

  2. comment
    Comment #40275295

    A Nintendo Switch is a non-hardware decryption system?

  3. comment
    Comment #40255857

    Could "effectively controls access" be attacked here? The purpose of the hardware is not to control access.

  4. comment
    Comment #40206688

    > You might think adding a UNIQUE index would cause the "losing" xact to get constraint errors, but instead both xacts succeed and no longer have a race condition. This is not true…

  5. comment
    Comment #38972952

    > Imagine booting your computer and having to give an email to login offline. As much as I hate what modern Windows has become, this is not actually true. If you know the correct s…

  6. comment
    Comment #38834922

    Ah, now I see I responded to the wrong message.

  7. comment
    Comment #38834824

    I'm sorry, I wasn't being clear. Any column meaning "this row is to be ignored for most applications" is an annoying pattern.

  8. comment
    Comment #38834650

    While that's kind of convenient in a lot of ways, it also makes querying the database really annoying, since you have to remember to add the filtering to every single query or you'…

  9. comment
    Comment #37611907

    Sequences kind of have the same issue, because you don't know if a gap is because of a rollback or an uncommitted transaction. Though with some logic you can do a pretty good job a…

  10. comment
    Comment #37611432

    Polling an updated_at column is not robust in its most simple form, as transactions are not guaranteed to commit in that order.

  11. comment
  12. comment
    Comment #27537889

    That's still, in my opinion, overkill and unnecessary.

  13. comment
    Comment #27534526

    > Adding a column, changing column's nullability and adding/changing constraints is already zero-downtime in PG. Making a previously nullable column NOT NULL is not zero downtime. …

  14. comment
    Comment #27534476

    I don't like really solutions which force everything into a single schema just to do migrations. They shouldn't be that difficult. In this particular case, rather than making every…

  15. comment
    Comment #27490752

    > This approach doesn’t work for LISTEN because typically a client will listen for its entire lifecycle so you can’t share connections in a pool. But you only need one connection f…

  16. comment
    Comment #27488553

    Can this quote die already? Rob has repeatedly demonstrated he doesn't know what's best for everyone.

  17. comment
    Comment #27486633

    > LISTEN ties up one connection completely I've seen this twice in this thread, but I don't know what that means. Can you explain a bit?

  18. comment
    Comment #26772496

    Huh? The VPN isn't for privacy.

  19. comment
    Comment #26676145

    > Unless you edit pg_ident.conf, your postgres install will not listen for connections outside of on localhost. I don't know what the defaults are, but pg_ident.conf has absolutely…