PgTcpRedirect
This class helps debug the PostgreSQL network protocol.
It listens on one port, and sends the exact same data to another port.
| Methods |
| static void |
main(String... args)
This method is called when executing this application from the command
line.
|
| static void |
main(String... args) throws Exception
This method is called when executing this application from the command
line.
Parameters:
args - the command line parameters
|
| static void |
printData(byte[] buffer, int len)
Print the uninterpreted byte array.
|
| static void |
printData(byte[] buffer, int len)
Print the uninterpreted byte array.
Parameters:
buffer - the byte array
len - the length
|