Skip to content

passcod/adventofcode22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 6, 2022
08a2951 · Dec 6, 2022

History

9 Commits
Dec 2, 2022
Dec 2, 2022
Dec 3, 2022
Dec 4, 2022
Dec 5, 2022
Dec 6, 2022
Dec 5, 2022
Dec 2, 2022
Dec 2, 2022

Repository files navigation

Advent of Code 2022: PostgreSQL

First create a database and load the schema with

psql < schema.sql

Then each day is self-contained and written in PSQL:

cd day01
psql < program.sql

The input is placed in input.txt alongside the program.

Limitations

  • PSQL syntax and macros are allowed
  • PostgreSQL version is 14.5
  • User running the code is a postgres superuser
  • Extensions, PLPgSQL, others languages, etc are allowed but solutions should primarily be in SQL where possible.

About

Advent of Code 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published