pgproxy

command module
v0.0.0-...-c0343d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2023 License: LGPL-3.0 Imports: 12 Imported by: 0

README

pgproxy

Project Goal
  • Proxy MySQL to PostgreSQL
    • MySQL SQL Sniffer
    • Proxy MySQL client to PostgreSQL backend
  • PostgreSQL connection pool
  • Using filtering unsupported SQL out method to indicate SQL translation(Not always translate SQLs)
    • Internal functions translation
    • Data type mapping
    • SQL Hints
Workflow
  1. Incoming request: Command/SQL/Parameters
  2. Parse SQL
  3. SQL translation(optional) + Request data mapping
  4. Send postgresql request and receive response
  5. Response data mapping
  6. Respond MySQL request with converted response
Dependencies
Sql Parser

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
replay command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL