sqlpetr
sqlpetr copied to clipboard
Functions to accompany the SQL Pet book
Unfortunately I ran into the error: Error: host must be a single element of type 'character'. This occurred in my install on R version 4.0.3, and Postgresql 11. I resolved...
I get an error when building a docker image. Because of the error, I also cannot connect to PostgreSQL. Code: ```r source(here("book-src", "restore-adventureworks-postgres-on-docker.R")) ``` Error: ``` Error response from daemon:...
1. Derive a Postgres restore image along the lines of `https://github.com/smithjd/sql-pet/blob/master/book-src/adventureworks.sql`. 2. decide whether to store the image in sql-pet or sqlpetr repositories 3. rewrite `sp_postgresql_functions.R` so that the image...
This is part of the AdventureWorks porting - we have a working SQL Server container
replace functions associated with dvdrental in `sp_docker_functions.R` and `sp_postgresql_functions.R` - sp_make_dvdrental_image - sp_fetch_dvdrental_autodoc
Swap Postgres from version 10 to 11, updating the following lines in sp_docker_functions.R 
I am at chapter 5.3 in the book and ran into an error when running this code: con