You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE FUNCTION crs_upperAnsi(avc VARCHAR(255) )
RETURNING VARCHAR(255) AS normalised
WITH (NOT VARIANT);
-- Call function for macron and case insensitive functional indexes
RETURN cf_ccl_upperAnsi(avc);
END FUNCTION;
Gets converted to this broken PostgreSQL code:
CREATE OR REPLACE FUNCTION crs_upperAnsi(avc VARCHAR(255) )
RETURNS VARCHAR(255) AS $$
BEGIN
WITH (NOT VARIANT);
-- Call function for macron and case insensitive functional indexes
RETURN cf_ccl_upperAnsi(avc);
END;
$$ LANGUAGE plpgsql;
See the WITH (NOT VARIANT) part, which makes PostgreSQL choke. Things work fine by removing that line.
The text was updated successfully, but these errors were encountered:
An Informix function like this:
Gets converted to this broken PostgreSQL code:
See the
WITH (NOT VARIANT)
part, which makes PostgreSQL choke. Things work fine by removing that line.The text was updated successfully, but these errors were encountered: