Tom Lane wrote:
Heikki Linnakangas <[EMAIL PROTECTED]> writes:
I'm not sure if this is a sane way to set up a dictionary, but surely
seg faulting is not the right thing to do. Should we throw an error on
an empty dict file, or should we swallow it without crashing?


Offhand I'd say that an empty file is a legitimate corner case,
so we should just take it silently.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate



Shouldn't we be warning about an empty file rather than just swallowing up the error? It might not be intentional and rather than the user trying to figure it out, we should at least be informing him/her...

--
Hamid

Reply via email to