Michael J. Sullivan
Michael J. Sullivan
Postgres doesn't force all that much about our cardinality inference system. If we determine something is single, we can just assume it--we don't need to convince postgres. The limiting factor...
Obviously this seems pretty bad but I don't know if this can be reproduced?
(@aljazerzen volunteered when we discussed this the other week, but if you don't have time we can unassign it)
@tailhook could you take a look at this soon? Tuples, also. Last year I hacked up something that basically worked (https://github.com/edgedb/edgedb-cli/commit/228cec168d87e457674db4644e642e48c4290c36) but felt like it might be too hacky even...
There is one potential actual UI design question, which is how to syntactically represent arrays of `str`, given that plain strs are just entered in without quotes or anything, but...
One difficulty with the multi-entry approach is that if we have `$0`, we would struggle to distinguish between empty set and empty array.
> Occurs to me on another reading that "minor" might have referred to implementation difficulty! Sorry for the presumptuous comment No, your interpretation was right as was (in my opinion...