gooderp18绿色标准版
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

22 linhas
680B

  1. /* src/test/modules/test_extensions/test_ext8--1.0.sql */
  2. -- complain if script is sourced in psql, rather than via CREATE EXTENSION
  3. \echo Use "CREATE EXTENSION test_ext8" to load this file. \quit
  4. -- create some random data type
  5. create domain posint as int check (value > 0);
  6. -- use it in regular and temporary tables and functions
  7. create table ext8_table1 (f1 posint);
  8. create temp table ext8_temp_table1 (f1 posint);
  9. create function ext8_even (posint) returns bool as
  10. 'select ($1 % 2) = 0' language sql;
  11. create function pg_temp.ext8_temp_even (posint) returns bool as
  12. 'select ($1 % 2) = 0' language sql;
  13. -- we intentionally don't drop the temp objects before exiting
上海开阖软件有限公司 沪ICP备12045867号-1