Cause regression tests to pass again after elog changes.
This commit is contained in:
parent
cfae62c476
commit
ce7a4f06a2
@ -2340,7 +2340,7 @@ DROP TABLE TEMP_TIMESTAMP;
|
||||
--
|
||||
SET DateStyle TO 'US,Postgres';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions
|
||||
INFO: DateStyle is Postgres with US (NonEuropean) conventions
|
||||
SELECT '' AS "64", d1 AS us_postgres FROM TIMESTAMP_TBL;
|
||||
64 | us_postgres
|
||||
----+-----------------------------
|
||||
@ -2506,7 +2506,7 @@ SELECT '' AS seven, f1 AS us_iso FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'US,SQL';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is SQL with US (NonEuropean) conventions
|
||||
INFO: DateStyle is SQL with US (NonEuropean) conventions
|
||||
SELECT '' AS "64", d1 AS us_sql FROM TIMESTAMP_TBL;
|
||||
64 | us_sql
|
||||
----+------------------------
|
||||
@ -2590,7 +2590,7 @@ SELECT '' AS seven, f1 AS us_sql FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,Postgres';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is Postgres with European conventions
|
||||
INFO: DateStyle is Postgres with European conventions
|
||||
INSERT INTO TIMESTAMP_TBL VALUES('13/06/1957');
|
||||
SELECT count(*) as one FROM TIMESTAMP_TBL WHERE d1 = 'Jun 13 1957';
|
||||
one
|
||||
@ -2682,7 +2682,7 @@ SELECT '' AS seven, f1 AS european_postgres FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,ISO';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is ISO with European conventions
|
||||
INFO: DateStyle is ISO with European conventions
|
||||
SELECT '' AS "65", d1 AS european_iso FROM TIMESTAMP_TBL;
|
||||
65 | european_iso
|
||||
----+------------------------
|
||||
@ -2767,7 +2767,7 @@ SELECT '' AS seven, f1 AS european_iso FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,SQL';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is SQL with European conventions
|
||||
INFO: DateStyle is SQL with European conventions
|
||||
SELECT '' AS "65", d1 AS european_sql FROM TIMESTAMP_TBL;
|
||||
65 | european_sql
|
||||
----+------------------------
|
||||
|
@ -2340,7 +2340,7 @@ DROP TABLE TEMP_TIMESTAMP;
|
||||
--
|
||||
SET DateStyle TO 'US,Postgres';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions
|
||||
INFO: DateStyle is Postgres with US (NonEuropean) conventions
|
||||
SELECT '' AS "64", d1 AS us_postgres FROM TIMESTAMP_TBL;
|
||||
64 | us_postgres
|
||||
----+-----------------------------
|
||||
@ -2506,7 +2506,7 @@ SELECT '' AS seven, f1 AS us_iso FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'US,SQL';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is SQL with US (NonEuropean) conventions
|
||||
INFO: DateStyle is SQL with US (NonEuropean) conventions
|
||||
SELECT '' AS "64", d1 AS us_sql FROM TIMESTAMP_TBL;
|
||||
64 | us_sql
|
||||
----+------------------------
|
||||
@ -2590,7 +2590,7 @@ SELECT '' AS seven, f1 AS us_sql FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,Postgres';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is Postgres with European conventions
|
||||
INFO: DateStyle is Postgres with European conventions
|
||||
INSERT INTO TIMESTAMP_TBL VALUES('13/06/1957');
|
||||
SELECT count(*) as one FROM TIMESTAMP_TBL WHERE d1 = 'Jun 13 1957';
|
||||
one
|
||||
@ -2682,7 +2682,7 @@ SELECT '' AS seven, f1 AS european_postgres FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,ISO';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is ISO with European conventions
|
||||
INFO: DateStyle is ISO with European conventions
|
||||
SELECT '' AS "65", d1 AS european_iso FROM TIMESTAMP_TBL;
|
||||
65 | european_iso
|
||||
----+------------------------
|
||||
@ -2767,7 +2767,7 @@ SELECT '' AS seven, f1 AS european_iso FROM ABSTIME_TBL;
|
||||
|
||||
SET DateStyle TO 'European,SQL';
|
||||
SHOW DateStyle;
|
||||
NOTICE: DateStyle is SQL with European conventions
|
||||
INFO: DateStyle is SQL with European conventions
|
||||
SELECT '' AS "65", d1 AS european_sql FROM TIMESTAMP_TBL;
|
||||
65 | european_sql
|
||||
----+------------------------
|
||||
|
@ -286,7 +286,7 @@ SELECT * FROM COPY_TBL;
|
||||
-- Primary keys
|
||||
--
|
||||
CREATE TABLE PRIMARY_TBL (i int PRIMARY KEY, t text);
|
||||
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
|
||||
INFO: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
|
||||
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
|
||||
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
|
||||
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
|
||||
@ -307,7 +307,7 @@ SELECT '' AS four, * FROM PRIMARY_TBL;
|
||||
DROP TABLE PRIMARY_TBL;
|
||||
CREATE TABLE PRIMARY_TBL (i int, t text,
|
||||
PRIMARY KEY(i,t));
|
||||
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
|
||||
INFO: CREATE TABLE / PRIMARY KEY will create implicit index 'primary_tbl_pkey' for table 'primary_tbl'
|
||||
INSERT INTO PRIMARY_TBL VALUES (1, 'one');
|
||||
INSERT INTO PRIMARY_TBL VALUES (2, 'two');
|
||||
INSERT INTO PRIMARY_TBL VALUES (1, 'three');
|
||||
@ -330,7 +330,7 @@ DROP TABLE PRIMARY_TBL;
|
||||
-- Unique keys
|
||||
--
|
||||
CREATE TABLE UNIQUE_TBL (i int UNIQUE, t text);
|
||||
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
|
||||
INFO: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
|
||||
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
|
||||
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
|
||||
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
|
||||
@ -353,7 +353,7 @@ SELECT '' AS five, * FROM UNIQUE_TBL;
|
||||
DROP TABLE UNIQUE_TBL;
|
||||
CREATE TABLE UNIQUE_TBL (i int, t text,
|
||||
UNIQUE(i,t));
|
||||
NOTICE: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
|
||||
INFO: CREATE TABLE / UNIQUE will create implicit index 'unique_tbl_i_key' for table 'unique_tbl'
|
||||
INSERT INTO UNIQUE_TBL VALUES (1, 'one');
|
||||
INSERT INTO UNIQUE_TBL VALUES (2, 'two');
|
||||
INSERT INTO UNIQUE_TBL VALUES (1, 'three');
|
||||
|
@ -13,8 +13,8 @@ CREATE FUNCTION hobbies_by_name(hobbies_r.name%TYPE)
|
||||
RETURNS hobbies_r.person%TYPE
|
||||
AS 'select person from hobbies_r where name = $1'
|
||||
LANGUAGE 'sql';
|
||||
NOTICE: hobbies_r.name%TYPE converted to text
|
||||
NOTICE: hobbies_r.person%TYPE converted to text
|
||||
INFO: hobbies_r.name%TYPE converted to text
|
||||
INFO: hobbies_r.person%TYPE converted to text
|
||||
CREATE FUNCTION equipment(hobbies_r)
|
||||
RETURNS setof equipment_r
|
||||
AS 'select * from equipment_r where hobby = $1.name'
|
||||
|
Loading…
x
Reference in New Issue
Block a user