git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e23014f) | patch
Allow escaping of option values for options passed at connection start.
2014年8月28日 11:59:29 +0000 (13:59 +0200)
2014年8月28日 11:59:29 +0000 (13:59 +0200)
commit 11a020eb6e4023a1570a2788ba22dd6aafbd02dc
Allow escaping of option values for options passed at connection start.

This is useful to allow to set GUCs to values that include spaces;
something that wasn't previously possible. The primary case motivating
this is the desire to set default_transaction_isolation to 'repeatable
read' on a per connection basis, but other usecases like seach_path do
also exist.

This introduces a slight backward incompatibility: Previously a \ in
an option value would have been passed on literally, now it'll be
taken as an escape.

The relevant mailing list discussion starts with
20140204125823.GJ12016@awork2.anarazel.de.
doc/src/sgml/protocol.sgml diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /