PostgreSQL driver and toolkit for Go
 
 
 
Go to file
Jack Christensen cbf03821e1 Revert making query methods automatically escape arguments.
Must now call SanitizeSql explicitly.

This was necessary because go supports variadic arguments but not
totally optional arguments. So it would require something to
always be passed in.
2013-04-16 19:55:01 -05:00
.gitignore Initial commit 2013-03-30 12:06:27 -07:00
README.md Added connect with md5 password 2013-04-11 21:39:44 -05:00
conn.go Revert making query methods automatically escape arguments. 2013-04-16 19:55:01 -05:00
conn_test.go Revert making query methods automatically escape arguments. 2013-04-16 19:55:01 -05:00
message_reader.go package name is pgx not pqx 2013-04-12 08:07:05 -05:00
messages.go package name is pgx not pqx 2013-04-12 08:07:05 -05:00
sanitize.go Added SQL parameter sanitization 2013-04-15 20:22:28 -05:00
sanitize_test.go Added SQL parameter sanitization 2013-04-15 20:22:28 -05:00
test_setup.sql Added connect with md5 password 2013-04-11 21:39:44 -05:00

README.md

pgx

Experimental PostgreSQL client library for Go

Testing

To setup the test environment run the test_setup.sql script as a user that can create users and databases. To successfully run the connection tests for various means of authentication you must include the following in your pg_hba.conf.

local  pgx_test  pgx_none  trust
local  pgx_test  pgx_pw    password
local  pgx_test  pgx_md5   md5