dat = SPI_getbinval(row, rowdesc, ++colno, &isnull);
if ( isnull ) {
lwpgwarning("Found edge with NULL end_node");
- edge->start_node = -1;
+ edge->end_node = -1;
}
val = DatumGetInt32(dat);
edge->end_node = val;
dat = SPI_getbinval(row, rowdesc, ++colno, &isnull);
if ( isnull ) {
lwpgwarning("Found edge with NULL face_left");
- edge->start_node = -1;
+ edge->face_left = -1;
}
val = DatumGetInt32(dat);
edge->face_left = val;
dat = SPI_getbinval(row, rowdesc, ++colno, &isnull);
if ( isnull ) {
lwpgwarning("Found edge with NULL face_right");
- edge->start_node = -1;
+ edge->face_right = -1;
}
val = DatumGetInt32(dat);
edge->face_right = val;
dat = SPI_getbinval(row, rowdesc, ++colno, &isnull);
if ( isnull ) {
lwpgwarning("Found edge with NULL next_left");
- edge->start_node = -1;
+ edge->next_left = -1;
}
val = DatumGetInt32(dat);
edge->next_left = val;
dat = SPI_getbinval(row, rowdesc, ++colno, &isnull);
if ( isnull ) {
lwpgwarning("Found edge with NULL next_right");
- edge->start_node = -1;
+ edge->next_right = -1;
}
val = DatumGetInt32(dat);
edge->next_right = val;