docstr: Find and return the path to the pg_config executable.
docstr_tok: ["Find","and","return","the","path","to","the","pg_config","executable","."]
code: def autodetect_pg_config_path(self):
      """Find and return the path to the pg_config executable."""
      if PLATFORM_IS_WINDOWS:
          return self.autodetect_pg_config_path_windows()
      else:
          return self.find_on_path("pg_config")
  
imports: import os
  import sys
  import re
  import subprocess
  from setuptools import setup, Extension
  from distutils.command.build_ext import build_ext
  from distutils.ccompiler import get_default_compiler
  from distutils.errors import CompileError
  import configparser
label_desc: Use image node_id 4 for calling the PostgresConfig obj's underlying member method code with example usage: obj.autodetect_pg_config_path() and returns: self, self