Re: StartupMessage parameters - free-form or not?

2020-07-11 Thread Jaka Jančar
Excellent, thanks! On Sat, Jul 11, 2020 at 8:43 PM Tom Lane wrote: > =?UTF-8?B?SmFrYSBKYW7EjWFy?= writes: > > I wrote a Postgres client and in it I allow the user to specify arbitrary > > StartupMessage parameters (Map). This is convenient > because > > the user can for example set search_path

Re: StartupMessage parameters - free-form or not?

2020-07-11 Thread Tom Lane
=?UTF-8?B?SmFrYSBKYW7EjWFy?= writes: > I wrote a Postgres client and in it I allow the user to specify arbitrary > StartupMessage parameters (Map). This is convenient because > the user can for example set search_path without issuing a separate SET > query or encoding things into the "options"

StartupMessage parameters - free-form or not?

2020-07-11 Thread Jaka Jančar
Hi, I wrote a Postgres client and in it I allow the user to specify arbitrary StartupMessage parameters (Map). This is convenient because the user can for example set search_path without issuing a separate SET query or encoding things into the "options" parameter. The protocol documentation also