Skip to content
#

postgres

postgresql logo

PostgreSQL is a database management system that is object-relational. PostgreSQL originated from the Ingres project at the University of California, Berkeley.

Here are 4,093 public repositories matching this topic...

grafana
grmat
grmat commented Sep 15, 2020

When using right Y-axis, the first (rightmost) legend label is hard to click. Only a small fraction on the left side of the label is actually clickable. Almost impossible to hit on touch devices.

I assume this is due to the negative margin of the parent item (<div class="view" ...>)

![recording](https://user-images.githubusercontent.com/12658837/93191834-46273480-f745-11ea-8eb8-3c9921a5b

graphql-engine
supabase
posthog
AleVul
AleVul commented Mar 25, 2021

I have trouble using (or understanding how to use) sqlx::Type. I have derived it for a wrapper around a String.
As far as I understand, this should implement Encode and Decode traits for the wrapper type and as a consequence I should be able to pass an instance of the wrapper type to query! macro, but I get an error stating that the drivers expects an &str instead of the wrapper type.

questdb
ideoma
ideoma commented Apr 15, 2021

Create

create table tt (dts timestamp, nts timestamp) timestamp(dts)

Insert

insert into tt 
select timestamp_sequence(1577836800000000L, 10L), timestamp_sequence(1577836800000000L, 10L) 
from long_sequence(2L)

Select

select 'nts', min(nts) from tt where nts > '2020-01-01T00:00:00.000000Z'

Expected
nts in the first column

Actual
timestamp

Created by Michael Stonebraker

Released July 8, 1996

Repository
postgres/postgres
Website
www.postgresql.org
Wikipedia
Wikipedia