feature request ctid cast / sql exception

From: Vladimír Houba ml(dot) <v(dot)houba(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: feature request ctid cast / sql exception
Date: 2021-04-16 16:54:31
Message-ID: CAP=jTS53r89GMGmc9GEQXDWC+L2Z=-Q-_jsAbedSwPfKxd4hEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

this is a feature request for a rather simple functionality.

I propose to implement a builtin and efficient bidirectional cast between
ctid and bigint types.

Another nice feature would be a function that can be called from a sql
statement and would throw an exception when executed.

I know these functions can be implemented using UDF, but the performance
and need to deploy it to every database is very inconvenient.

Thank you

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-04-16 16:55:28 Re: Bogus collation version recording in recordMultipleDependencies
Previous Message Esteban Zimanyi 2021-04-16 16:33:46 Re: Error when defining a set returning function