On Mon, Jun 16, 2003 at 03:36:55PM -0400, Bruce Momjian wrote:
> 
> I am working on this now.  The missing typedef for sa_family_t is really
> just used for structure alignment, so I am working on a fix to define a
> char array and #define to be the same length as the native ss_family,
> because on my system sa_family_t is:
> 
>         sys/sockettypes.h:11:typedef u_char sa_family_t;
> 
> which seems to contradict the unsigned short as found by Jason on
> Cygwin, so it seems I will have to pull out the real family length, and
> use that in the structure.

You have systems using BSD 4.3 where sa_family is an unsigned short, 
and BSD 4.4, where they split it up in sa_len (a u_char) and a
sa_family (also a u_char).

I was wondering about just using the SALEN to define what we
want.


Kurt


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to