Questions tagged as 'postgresql'

1
answer

How to return the records of the last 7 days counting the current day with postgreSQL?

I am doing a search in the database where I want to return the records of the last seven days. I made a SQL script that returns me the records of the last 7 days but it does not count the current day as being the first day of the 7. For example...
asked by 03.11.2015 / 17:37
2
answers

How to separate a letter from a character in SQL?

I have a variable of type character varying (17) and need to separate one of the characters, for example the third letter, and use it to filter. SELECT * FROM fnord WHERE terceira(illuminati) = "a"     
asked by 02.08.2018 / 14:43
1
answer

java.sql.SQLFeatureNotSupportedException: Method org.postgresql.jdbc.PgConnection.createClob () has not yet been implemented

I created my Spring Boot project, I did not create any Java class and it is already giving error, my problem is to connect the project with the PostgreSQL database. see my pom.xml file <?xml version="1.0" encoding="UTF-8"?> <projec...
asked by 02.03.2018 / 13:09
2
answers

How to connect Virtual Android with PostGreSQL on Local Machine?

Good morning, I'm trying to create a connection of Android Virtual created in% with% with% with%. As my knowledge in Eclipse ADT I spent very little time trying to connect and did not have success. public String conectarDB() t...
asked by 28.09.2016 / 15:16
1
answer

.bat file to generate backup and restore in PostgreSQL

I am creating .bat files to perform the backup and restore of a database in PostgreSQL I use windows 10 and pg 9.4 I execute the following command to perform the backup set PGUSER=postgres set PGPASSWORD=postgres123 "C:/Program Files/Postg...
asked by 27.10.2017 / 00:26
1
answer

Connection Error C # PostGree - Locaweb [duplicate]

I have a webservice consuming postgreesql data and when I try to connect to the base after posting. The host I'm trying to use: "serveripanema.no-ip.info"    Npgsql.NpgsqlException: Failed to establish a connection             to '177.195.4...
asked by 04.04.2017 / 23:03
3
answers

Query that lists the dates

Good evening, How Query can take the following action in PostgreSQL: List the dates that fell on the Sunday of the last 6 months based on the current date, regardless of the data in the database. NOTE: The records that are in the data...
asked by 02.10.2017 / 02:38
2
answers

How to ignore accent in a database search?

I need to search for cities. In the database is registered for example, São Paulo , Viamão , Curitiba , but if the user tries to search the city of São Paulo for example, typing Sao Paulo (without accent), nothing...
asked by 16.02.2017 / 18:53
2
answers

Problems viewing the Data Laravel 5.1 [closed]

I'm a beginner in Laravel and I'm trying to get data from a DB with multiple Postgresql schemas with Laravel 5.1 and it's bringing me an error What configuration should I make for the model to correctly access the table of that schema? Dir...
asked by 04.01.2016 / 20:41
2
answers

Visual Studio Installer Projects with PostgreSQL

I'm starting a Windows Form C # project, a business application that the user downloads, installs, and uses without any complications. Is it possible to configure Visual Studio Installer Projects to install with PostgreSQL without the user reali...
asked by 10.08.2017 / 05:38