Skip to content

davidhintelmann/PostgreSQL-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL and Go

This repo contains a small example of using PostgreSQL and the go programming language together.

The pgx driver is required for connecting to a local instance of PostgreSQL.

The sample data for this repo is from Microsoft's AdventureWorks OLTP sample database.

The AdventureWorks .bak files are backups for Microsoft SQL Server which we are replacing with PostgreSQL. In order to do this we can follow lorint repo's instructions for converting the files and inserting them into PostgreSQL tables.

From here we can execute raw SQL statements in our go programs.

About

Using pgx driver for go lang to query a local instance of PostgreSQL

Topics

Resources

License

Stars

Watchers

Forks

Languages