I just want to double check what I found in one of the development
newsletters. I have been trying to port PostgreSQL to QNX 6, and
had been told by a couple of co-workers that QNX RTP supports
Unix style sockets (which PostgreSQL uses). However, according to
http://qdn.qnx.com/news/newsletter/qdni3v2.html
“Although Unix domain sockets (AF_LOCAL/AF_UNIX)
are not supported directly with the QNX RTOS 6.1 release”
Before I found this article, I had tried to create a socket using
the AF_LOCAL family type. socket() returned with an error,
and errno was set to 2 (no such file or directory.) Is this the
expected response if indeed qnx rtp does not support AF_LOCAL?
I have not been able to find any other mention of AF_LOCAL/
AF_UNIX, and whether or not this flag is supported or not. Is
there a document detailing this that I have missed? Any pointers
to it would be appreciated.
thanks
aaron
Unix domain sockets are still not supported. Beware, Postgres actually
can work without them, but it needs quite a lot of tweaking to build. I
have it compiled, but so far it dies on tests, I’ll post patches when it
is debugged.
Aaron Tucker wrote:
I just want to double check what I found in one of the development
newsletters. I have been trying to port PostgreSQL to QNX 6, and
had been told by a couple of co-workers that QNX RTP supports
Unix style sockets (which PostgreSQL uses). However, according to
http://qdn.qnx.com/news/newsletter/qdni3v2.html
“Although Unix domain sockets (AF_LOCAL/AF_UNIX)
are not supported directly with the QNX RTOS 6.1 release”
Before I found this article, I had tried to create a socket using
the AF_LOCAL family type. socket() returned with an error,
and errno was set to 2 (no such file or directory.) Is this the
expected response if indeed qnx rtp does not support AF_LOCAL?
I have not been able to find any other mention of AF_LOCAL/
AF_UNIX, and whether or not this flag is supported or not. Is
there a document detailing this that I have missed? Any pointers
to it would be appreciated.
thanks
aaron