Re: Constraining overlapping date ranges - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Constraining overlapping date ranges
Date
Msg-id iesv7o$9cv$1@dough.gmane.org
Whole thread Raw
In response to Re: Constraining overlapping date ranges  (Filip Rembiałkowski <filip.rembialkowski@gmail.com>)
Responses Re: Constraining overlapping date ranges
List pgsql-general
Filip Rembiałkowski, 22.12.2010 14:28:
> INSERT INTO tbl SELECT 1, '2010-01-01', '2010-12-31';
> INSERT 0 1

I'm curious why you use this syntax as you have fixed values and could use the "standard" VALUES construct without
problems:

INSERT INTO tbl VALUES (1, '2010-01-01', '2010-12-31');

Regards
Thomas

pgsql-general by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: Constraining overlapping date ranges
Next
From: Filip Rembiałkowski
Date:
Subject: Re: Constraining overlapping date ranges