Commit 11a020e
committed
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.1 parent e23014f commit 11a020e
File tree
3 files changed
+43
-17
lines changed- doc/src/sgml
- src/backend
- postmaster
- utils/init
3 files changed
+43
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4734 | 4734 | | |
4735 | 4735 | | |
4736 | 4736 | | |
4737 | | - | |
| 4737 | + | |
| 4738 | + | |
| 4739 | + | |
| 4740 | + | |
4738 | 4741 | | |
4739 | 4742 | | |
4740 | 4743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4083 | 4083 | | |
4084 | 4084 | | |
4085 | 4085 | | |
4086 | | - | |
4087 | | - | |
| 4086 | + | |
4088 | 4087 | | |
4089 | 4088 | | |
4090 | 4089 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
415 | 415 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 416 | + | |
| 417 | + | |
422 | 418 | | |
423 | 419 | | |
424 | 420 | | |
425 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
428 | 433 | | |
429 | 434 | | |
| 435 | + | |
430 | 436 | | |
431 | 437 | | |
432 | | - | |
433 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
434 | 456 | | |
435 | | - | |
436 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
437 | 461 | | |
| 462 | + | |
438 | 463 | | |
439 | 464 | | |
440 | 465 | | |
| |||
981 | 1006 | | |
982 | 1007 | | |
983 | 1008 | | |
984 | | - | |
985 | 1009 | | |
986 | 1010 | | |
987 | 1011 | | |
| |||
0 commit comments