A book that I just reviewed is pretty good for teching you
PostgreSQL and accesing it from Tcl: "Beginning PostgreSQL." It
hasn't been published yet tho 😟 It's being published by Wrox
Press.
If you are accessing PG from "regular" Tcl (i.e. not within
AOLserver Tcl) you should look at "nstcl", a Tcl database
abstraction layer written by fellow OpenACS'er Michael Cleverly.
nstcl implements the same familiar AOLserver "ns_db" calls,
and it currently supports PostgreSQL, Oracle and Solid. Check it
out at http://michael.cle
verly.com/aolserver/nstcl