Re: feature request ctid cast / sql exception

2021-04-18 Thread Vladimír Houba ml .
described earlier. This is a very very simple functionality so please consider it. Im also writing an opensource lib that would make use of this. My users will be thankfull to you. On Sat, Apr 17, 2021, 23:05 David G. Johnston wrote: > On Sat, Apr 17, 2021 at 12:58 PM Vladimír Houba ml. >

Re: feature request ctid cast / sql exception

2021-04-18 Thread Vladimír Houba ml .
t, Apr 17, 2021 at 9:46 PM Tom Lane wrote: > "David G. Johnston" writes: > > On Sat, Apr 17, 2021 at 10:58 AM Vladimír Houba ml. > > wrote: > >> Another nice feature would be a function that can be called from a sql > >> statement and would throw an ex

feature request ctid cast / sql exception

2021-04-17 Thread Vladimír Houba ml .
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 kno

jdbc targetServerType=slave with readonly connection

2018-01-16 Thread Vladimír Houba ml .
Hello, the slave replication server does not seem to be recognized correctly when using read-only jdbc connection and targetServerType=preferSlave. Sample conn str jdbc:postgresql://master,slave/up?user=***&password=***&sslmode=require&ApplicationName=***&targetServerType=preferSlave&loadBalanceH