You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Add PostgreSQL query client.
This direct interface to libpq allows simple queries to be run against PostgreSQL and supports timeouts. Testing is performed using a shim that can use scripted responses to test all aspects of the client code. The shim will be very useful for testing backup scenarios on complex topologies. Reviewed by Cynthia Shang.
This commit is contained in:
		| @@ -411,6 +411,7 @@ sub run | ||||
|                     '-I. -Itest -std=c99 -fPIC -g -Wno-clobbered -D_POSIX_C_SOURCE=200112L' . | ||||
|                         ' `perl -MExtUtils::Embed -e ccopts`' . | ||||
|                         ' `xml2-config --cflags`' . ($self->{bProfile} ? " -pg" : '') . | ||||
|                         ' -I`pg_config --includedir`' . | ||||
|                     ($self->{oTest}->{&TEST_DEBUG_UNIT_SUPPRESS} ? '' : " -DDEBUG_UNIT") . | ||||
|                     (vmWithBackTrace($self->{oTest}->{&TEST_VM}) && $self->{bBackTrace} ? ' -DWITH_BACKTRACE' : '') . | ||||
|                     ($self->{oTest}->{&TEST_CDEF} ? " $self->{oTest}->{&TEST_CDEF}" : '') . | ||||
|   | ||||
		Reference in New Issue
	
	Block a user