I'm trying to follow the tutorial on PostgreSQL (https://www.postgresql.org/docs/9.5/static/tutorial-sql-intro.html). I'm running version 9.5.7, so I downloaded the corresponding source code and tried
kurt@kurt-ThinkPad:~/Downloads/postgresql-9.5.7/src/tutorial$ make
Makefile:27: /usr/lib/postgresql/9.5/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target '/usr/lib/postgresql/9.5/lib/pgxs/src/makefiles/pgxs.mk'. Stop.
However, it's not able to find certain Makefiles as shown in the error message above. Am I doing anything wrong?
basics.sourceis essentially a SQL script. You can just run it - or copy and past the statements. The same is true foradvanced.source