We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9facc5d commit e3dabd1Copy full SHA for e3dabd1
spec/unit/type/postgresql_conf_spec.rb
@@ -101,6 +101,12 @@
101
end
102
# string https://www.postgresql.org/docs/current/datatype-character.html
103
describe 'validate complex string values with newvalues function' do
104
+ it 'validates log_line_prefix with value [%p] %q:%u:%d:%' do
105
+ expect { described_class.new(name: 'log_line_prefix', value: '[%p] %q:%u:%d:%x ') }.not_to raise_error
106
+ end
107
+ it 'validates log_line_prefix with value %t %q%u@%d %p %i' do
108
+ expect { described_class.new(name: 'log_line_prefix', value: '%t %q%u@%d %p %i ') }.not_to raise_error
109
110
it 'validates log_filename with value psql_01-%Y-%m-%d.log' do
111
expect { described_class.new(name: 'log_filename', value: 'psql_01-%Y-%m-%d.log') }.not_to raise_error
112
0 commit comments