Features I wish PostgreSQL had as a developer
21–30 of 65 posts
Re: Features I wish PostgreSQL had as a developer
#22Re: Features I wish PostgreSQL had as a developer
#23I wish it had logical locks where you didn’t need to lock a particular row. Instead you’d just specify a string and lock on it and then execute your application code. Would be useful for distributed locks, or for transactions that may conflict with another so you take the logical lock in the application code before proceeding.
https://www.postgresql.org/docs/current/explicit-locking.htm...
Re: Features I wish PostgreSQL had as a developer
#24I wish it had logical locks where you didn’t need to lock a particular row. Instead you’d just specify a string and lock on it and then execute your application code. Would be useful for distributed locks, or for transactions that may conflict with another so you take the logical lock in the application code before proceeding.
Re: Features I wish PostgreSQL had as a developer
#25I'd like to have a way of disabling certain (legacy?) functionality. They even list some of it on their wiki [1]. Maybe we could even get speedups by not covering the legacy cases. A plan to phase out some of these legacy features would be even better. Don't know if they do this in general. [1]: https://wiki.postgresql.org/wiki/Don't_Do_This
Re: Features I wish PostgreSQL had as a developer
#26I'd like to have a way of disabling certain (legacy?) functionality. They even list some of it on their wiki [1]. Maybe we could even get speedups by not covering the legacy cases. A plan to phase out some of these legacy features would be even better. Don't know if they do this in general. [1]: https://wiki.postgresql.org/wiki/Don't_Do_This
Re: Features I wish PostgreSQL had as a developer
#27I wish it had logical locks where you didn’t need to lock a particular row. Instead you’d just specify a string and lock on it and then execute your application code. Would be useful for distributed locks, or for transactions that may conflict with another so you take the logical lock in the application code before proceeding.
Your wish was granted https://www.postgresql.org/docs/current/explicit-locking.htm...
Re: Features I wish PostgreSQL had as a developer
#28I wish it had logical locks where you didn’t need to lock a particular row. Instead you’d just specify a string and lock on it and then execute your application code. Would be useful for distributed locks, or for transactions that may conflict with another so you take the logical lock in the application code before proceeding.
Your wish was granted https://www.postgresql.org/docs/current/explicit-locking.htm...
Re: Features I wish PostgreSQL had as a developer
#29Earlier quoted context omitted.
Your wish was granted https://www.postgresql.org/docs/current/explicit-locking.htm...
It's not exactly string-based as it accepts bigint key, but I guess it's possible to hash a string when you pass it to the function.
Re: Features I wish PostgreSQL had as a developer
#30Add to the list: Ability to reorder columns :)