abbas alizadeh <ramkly@yahoo.com> writes:
> I got “terminated by signal 11, segmentation falt” error in my database.
> I’m using pg v13.7
> Query causing that error: “set client_encoding= utf-8”
Hmm, that is pretty well-tested code.
> There is no core file in data folder.
Maybe you are starting the server under "ulimit -c 0"? See also
the advice at
https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
> Any idea how can I find the root case for this error?
With only this amount of information, there's not much to be done.
If you could get a stack trace maybe we'd have some ideas.
regards, tom lane