code: func New() backend.Backend {
  	s := &schema.Backend{
  		Schema: map[string]*schema.Schema{
  			"conn_str": &schema.Schema{
  				Type:        schema.TypeString,
  				Required:    true,
  				Description: "Postgres connection string; a `postgres://` URL",
  			},
  
  			"schema_name": &schema.Schema{
  				Type:        schema.TypeString,
  				Optional:    true,
  				Description: "Name of the automatically managed Postgres schema to store state",
  				Default:     "terraform_remote_state",
  			},
  		},
  	}
  
  	result := &Backend{Backend: s}
  	result.Backend.ConfigureFunc = result.configure
  	return result
  }
docs: // New creates a new backend for Postgres remote state.