postgresql tag

79 questions


1 answers
146 views
0
Problems with JAVA 8 Local Date Time data type being stored as a bytea data type in PostgreSQL when using Hibernate 5.0.9

Hibernate 5.0.9 version Dialect is using postgresql. To use the new java.time package in Java8, add jackson-datatatatype-jsr310 dependency and use it.When the field is declared and DDL is automaticall...


1 answers
56 views
0
I'm developing it for a long time, do you register an email with the postgresql user?

I am currently using postgresql 9.4 with postgis 2.1. I'm trying to make an application with a long storage.

2 years ago

2 answers
115 views
0
What should I do with logic when the purchase list product is deleted?

Product ------FK----> Purchase ListIf the product on the purchase list is deleted, the purchase list is supposed to be deleted. Is it the right way not to delete the purchase list?Or is it right to...


1 answers
94 views
0
How do I know how many hours have passed between the value of Timestamp and the present in Postgresql?

I am using Postgresql DB.I want to read the created_at column value and check how many hours of row it was created.select EXTRACT(HOUR FROM (NOW() - created_at)) as agefrom tableThe prices are coming ...

2 years ago

2 answers
104 views
0
The index is created in postgres, but I wonder if you do seq scan instead of index scan.

The background of knowing the problem is that when selecting, the index was clearly created in consideration of the corresponding select statement, and in development db (local db), the index scan was...

2 years ago

1 answers
64 views
0
How do you measure the query rate in the long run?

I'm using a storage and post-grescual.By the way, I want to know how fast the query sentence I made speeds up when there is a lot of data.I used django debug toolbar In this case, I can't figure out h...

2 years ago

1 answers
52 views
0
Extracting dates from timestamp in postgresql

I am using postgresql. There is a timestamp type column and an id column.I want to extract it like this. select date, count(distinct(id)) from table group by dateHow do I get the date when I want to u...

2 years ago

1 answers
153 views
0
[Database] I want to create a new table with two different tables and add a property (vertical) value.

I have extracted only the necessary attribute values from the table A and the table B (extracted by Join I would like to make a table by adding extraction as join + new name/other to the new C table.-...


1 answers
86 views
0
I'm using DBeaver, how can I copy the database?

DBeaver is using this and that database.By the way, I want to copy the database that I use by accessing DBeaver from another remote computer.How should I do it?

« - 8 -

© 2024 OneMinuteCode. All rights reserved.