Puppet Function: postgresql_escape

Defined in:
lib/puppet/functions/postgresql_escape.rb
Function type:
Ruby 4.x API

Summary

DEPRECATED. Use the namespaced function [`postgresql::postgresql_escape`](#postgresqlpostgresql_escape) instead.

Overview

postgresql_escape(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


4
5
6
7
8
9
10
11
12
# File 'lib/puppet/functions/postgresql_escape.rb', line 4

Puppet::Functions.create_function(:postgresql_escape) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'postgresql_escape', 'This method is deprecated, please use postgresql::postgresql_escape instead.')
    call_function('postgresql::postgresql_escape', *args)
  end
end