Skip to content

Instantly share code, notes, and snippets.

@Komzpa
Created October 7, 2016 20:07
Show Gist options
  • Save Komzpa/8505274b2e9ba8cacf96587c6901212b to your computer and use it in GitHub Desktop.
Save Komzpa/8505274b2e9ba8cacf96587c6901212b to your computer and use it in GitHub Desktop.
gis=> create or replace function 😼ify ( 😼 integer )
gis-> returns text as $$
gis$> select 😼::text||'😼'
gis$> $$ language 'sql' strict;
CREATE FUNCTION
gis=>
gis=> create operator 😼(
gis(> leftarg = integer,
gis(> procedure = 😼ify
gis(> );
ERROR: syntax error at or near "("
LINE 1: create operator 😼(
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment