X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FSQL%2FPostgreSQL%2F16%2Fselect_checkidentity.sql;fp=src%2Fcore%2FSQL%2FPostgreSQL%2F16%2Fselect_checkidentity.sql;h=8254f03ba71e541d27b0126a01ddf981f8a0db58;hp=0000000000000000000000000000000000000000;hb=9ce9e3fe0329a6736383a7a3a5bc1618f80885ca;hpb=e4972a0ebce0d555d752ab2f34ffd6a6dcdef1dd diff --git a/src/core/SQL/PostgreSQL/16/select_checkidentity.sql b/src/core/SQL/PostgreSQL/16/select_checkidentity.sql new file mode 100644 index 00000000..8254f03b --- /dev/null +++ b/src/core/SQL/PostgreSQL/16/select_checkidentity.sql @@ -0,0 +1,3 @@ +SELECT count(*) +FROM identity +WHERE identityid = :identityid AND userid = :userid