Theodore Petrosky <tedpet5(at)yahoo(dot)com> writes:
> After all this conversation.. I guess my question is..
> am I leaking 'listens' if I don't close them properly?
No. It may take awhile for the backend to realize the connection is
dead (this is driven by RFC-specified TCP timeouts). Once it does,
though, it will clean up before exiting.
regards, tom lane