Set application name to pgproto.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 25 Apr 2021 08:24:36 +0000 (17:24 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sun, 25 Apr 2021 08:29:51 +0000 (17:29 +0900)
commit4079b32b7600f6e3761fb2470827377d8b68eba3
tree8afd35bd20a176f74cac87e40e404fbb91c36d48
parent66b9f0d22d24cc6dda0a07b030fb673c9ec32c85
Set application name to pgproto.

Now that from 4.2 application name can be used in the pgpool log,
pgproto now has its own application name "pgproto".

Also fix a bug in creating connection string. While adding user name,
it did not use strncat(), instead it used strcat().
src/tools/pgproto/main.c