Re: Binding Postgres to port 0 for testing

2023-03-27 Thread Markus Pilman
in fun learning than reducing work :) Generally I would agree that reusing existing and testing code to run this would be better unless there's a really good reason not to do that. On Sun, Mar 26, 2023 at 7:27 PM Michael Paquier wrote: > On Sat, Mar 25, 2023 at 11:01:33AM -0600, Markus

Re: Binding Postgres to port 0 for testing

2023-03-27 Thread Markus Pilman
production environment this is almost never the thing you want to do, but I wouldn't consider this option very dangerous. Best Markus On Sat, Mar 25, 2023 at 12:10 PM Erik Wienhold wrote: > > On 25/03/2023 18:01 CET Markus Pilman wrote: > > > > I am building a simple integrat

Binding Postgres to port 0 for testing

2023-03-25 Thread Markus Pilman
Hi all, I am building a simple integration test framework for an application that I am building. For this project I am planning to use PostgreSQL. For testing purposes I'd like to always start with an empty database, populate data, and, if the test was successful, delete everything. These tests a