Added public files

Roughly added all public files. Probably missed some, though.
diff --git a/sys/pgsql.h b/sys/pgsql.h
new file mode 100644
index 0000000..fa7cdf6
--- /dev/null
+++ b/sys/pgsql.h
@@ -0,0 +1,23 @@
+#ifndef _PGSQL_H
+#define _PGSQL_H
+
+/* Definitions for the PostgreSQL efuns */
+
+#define PGRES_EMPTY_QUERY    0  /* Unimplemented */
+#define PGRES_COMMAND_OK     1
+#define PGRES_TUPLES_OK      2
+#define PGRES_COPY_OUT       3  /* Unimplemented */
+#define PGRES_COPY_IN        4  /* Unimplemented */
+#define PGRES_BAD_RESPONSE   5
+#define PGRES_NONFATAL_ERROR 6
+#define PGRES_FATAL_ERROR    7
+#define PGRES_NOTICE        99
+
+#define PGCONN_SUCCESS 100
+#define PGCONN_FAILED  101
+#define PGCONN_ABORTED 102
+
+#define PG_RESULT_ARRAY 0
+#define PG_RESULT_MAP   1
+
+#endif