I think your last query should read:
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:\\C:\\Program Files\\PostgreSQL\\9.2\\data\\registration.csv' AS row
MATCH (a:course{ id : row.course1fk})
MATCH (b:student{ id: row.studentfk})
CREATE (b)-[:registration {id: row.id, grade: row.grade}]->(a);
The property name for course and student is different than the one you used when creating the nodes earlier on.
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.