[Spacewalk-list] creating a snapshot tag fails

Jan Pazdziora jpazdziora at redhat.com
Thu Nov 1 20:53:56 UTC 2012


On Tue, Oct 16, 2012 at 11:45:15AM -0400, Evan Frey wrote:
> Every time we try to create a snapshot tag it fails with the
> following error:
> 
> RHN::Exception: DBD::Pg::st execute failed: ERROR:  function
> quote_literal(numeric, unknown) does not exist LINE 1: ...es (' ||
> $1 || ', ' ||  $2  || ', ' || coalesce(quote_lite...
> HINT:  No function matches the given name and argument types. You
> might need to add explicit type casts.
> QUERY:  SELECT  pg_dblink_exec( 'insert into rhnTag(id, org_id,
> name_id) values (' ||  $1  || ', ' ||  $2  || ', ' ||
> coalesce(quote_literal(lookup_tag_name( $3 ), 'NULL')) || ')')

The lookup_tag PL/pgSQL function was fixed in Spacewalk 1.8.
This particular issue namely with commit
5b0ecc46bd12c14a68ed8450f65d06b79a85e343.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list