Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jerrysievert
on June 4, 2012
|
parent
|
context
|
favorite
| on:
Building a MongoDB Clone in Postgres
you can, but in order to build a partial index, the function needs to be immutable. not exactly ideal in this case.
rosser
on June 4, 2012
[–]
Immutability is perfectly appropriate for that use-case, though. Creating an index via a function that may return different outputs when provided the same input is always going to lose.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: