Re: SQL:2011 application time

From: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: SQL:2011 application time
Date: 2024-03-20 16:21:44
Message-ID: b4bc1ef8-4215-4cf6-933c-5ef2a2827efe@illuminatedcomputing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/20/24 03:55, jian he wrote:
> hi.
> minor cosmetic issues, other than that, looks good.
>
> *pk_period = (indexStruct->indisexclusion);
> to
> *pk_period = indexStruct->indisexclusion;
>
> ... >
> if (with_period && !fkconstraint->fk_with_period)
> ereport(ERROR,
> (errcode(ERRCODE_INVALID_FOREIGN_KEY),
> errmsg("foreign key uses PERIOD on the referenced table but not the
> referencing table")));

Both included in the new patches here.

Rebased to a0390f6ca6.

Yours,

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

Attachment Content-Type Size
v31-0001-Add-temporal-FOREIGN-KEYs.patch text/x-patch 116.4 KB
v31-0002-Support-multiranges-in-temporal-FKs.patch text/x-patch 48.7 KB
v31-0003-Add-support-funcs-for-FOR-PORTION-OF.patch text/x-patch 43.0 KB
v31-0004-Add-UPDATE-DELETE-FOR-PORTION-OF.patch text/x-patch 161.0 KB
v31-0005-Add-CASCADE-SET-NULL-SET-DEFAULT-for-temporal-fo.patch text/x-patch 201.3 KB
v31-0006-Add-PERIODs.patch text/x-patch 280.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2024-03-20 16:32:38 Re: sslinfo extension - add notbefore and notafter timestamps
Previous Message Jeff Davis 2024-03-20 16:01:54 Re: Change GUC hashtable to use simplehash?