File: 2-payment-does-not-exists.sql

package info (click to toggle)
pgcopydb 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 30,636 kB
  • sloc: ansic: 217,474; sql: 1,654; sh: 812; makefile: 365; python: 94
file content (7 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
select exists
       (
         select 1
           from pg_class c
                join pg_namespace n on n.oid = c.relnamespace
          where n.nspname = 'public' and c.relname = 'payment'
       );