[sr-dev] git:sr_3.0: db_postgres: compile fixes for gcc 2.95