feature request ctid cast / sql exception - Mailing list pgsql-hackers

From Vladimír Houba ml.
Subject feature request ctid cast / sql exception
Date
Msg-id CAP=jTS53r89GMGmc9GEQXDWC+L2Z=-Q-_jsAbedSwPfKxd4hEQ@mail.gmail.com
Whole thread Raw
Responses Re: feature request ctid cast / sql exception  ("David G. Johnston" <david.g.johnston@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Esteban Zimanyi
Date:
Subject: Re: Error when defining a set returning function
Next
From: Tom Lane
Date:
Subject: Re: Bogus collation version recording in recordMultipleDependencies