Currently, I'm studying at University of Science and Technology (UET).
I use Arch, btw
Run your SQL query
Home Page: https://flathub.org/vi/apps/me.ppvan.psequel
License: GNU General Public License v3.0
Update connection save and load logic
Update import and export action
Should fixed #44
Error message when trying to connect with SSL toggled on.
invalid sslmode value: "required"
Downloaded from Flathub, 0.2.0
I can list my schemas, but I can't list my tables or run any queries while using posgres using docker. Is there something I'm missing?
This is my system info :
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
Docker Image Info: postgres:latest
version: '3.9'
services:
postgres:
image: postgres:latest
container_name: postgres-container
ports:
- '5432:5432'
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- pgdata:/var/lib/postgresql/data
- ./init-scripts:/docker-entrypoint-initdb.d
volumes:
pgdata:
Sequeler might be useful to look at for this https://github.com/Alecaddd/sequeler
Do you have permission to use the PostgreSQL logo as part of your logo? If no, please stop using the PostgreSQL logo. https://www.postgresql.org/about/policies/trademarks/
I would also suggest you contact Postgres to see if they consider the name psequel an infringement on their trademark. It certainly implies an affiliation in my mind. [email protected]
I think this might be similar to #68:
psequel:2): Psequel-WARNING **: 16:23:53.181: Schema.vala:54: Regex not match: CREATE INDEX subscribers_fxa_profile_json_subscriptions_idx ON public.subscribers USING gin (((fxa_profile_json -> 'subscriptions'::text)))
**
Psequel:ERROR:../src/models/Schema.vala:55:psequel_index_extract_info: code should not be reached
Bail out! Psequel:ERROR:../src/models/Schema.vala:55:psequel_index_extract_info: code should not be reached
This started occurring after I ran this:
CREATE INDEX CONCURRENTLY subscribers_fxa_profile_json_subscriptions_idx ON subscribers USING GIN ((fxa_profile_json->'subscriptions'));
$ flatpak run me.ppvan.psequel
(psequel:2): Gtk-WARNING **: 14:46:45.764: No IM module matching GTK_IM_MODULE=cedilla found
(psequel:2): Psequel-CRITICAL **: 14:47:34.674: psequel_connection_view_model_active_connection: assertion 'connection != NULL' failed
$ flatpak info me.ppvan.psequel
psequel - A minimal SQL client
ID: me.ppvan.psequel
Ref: app/me.ppvan.psequel/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.2.0
License: GPL-3.0-or-later
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 5.5 MB
Runtime: org.gnome.Platform/x86_64/46
Sdk: org.gnome.Sdk/x86_64/46
Commit: 3a6038eeed7a66d45a5c129442d4a8097596bdb233793f3b2e190fc847036cc9
Parent: db0dbd08f613718213d7c5b0cbb395f52b887af7e3900eb43cb5c6a89345635c
Subject: Update me.ppvan.psequel.json (b9c1a9b8)
Date: 2024-06-23 06:47:35 +0000
Copying entire rows or a column value is not working on the "Data" view and neither in the query result, it would be very useful to copy values. Please consider implementing this.
Issue: Current version show view info as tabular data, not convient to view or reason about
Expect: Have a context menu for each table item: "Graph" to show visual schema
Hello,
This app looks great and I'm excited to try it out, but when I try and use an SSL connection in the Flatpak version I get the following error:
sslmode value "require" invalid when SSL support is not compiled in
Would compiling from source resolve this? Am I missing a flatpak dependency?
Using version 0.1.3
Sequeler might be useful to look at for this https://github.com/Alecaddd/sequeler
Changing the color scheme in preferences doesn't change anything in the UI on v0.1.6 installed from Flathub. It doesn't output any error message either.
Due to current implementation, open 2 window at the sametime not work.
I get this error when running from console:
(psequel:2): Psequel-WARNING **: 20:37:13.508: Schema.vala:54: Regex not match: CREATE INDEX table_columnid ON another_table USING btree ("table_id")
**
Psequel:ERROR:../src/models/Schema.vala:55:psequel_index_extract_info: code should not be reached
Bail out! Psequel:ERROR:../src/models/Schema.vala:55:psequel_index_extract_info: code should not be reached
Issue: Have to input connection infomation by hand
Expect: If you have a valid connection string, there should be a option to parse that and fill to the form
If any additional information or logs are needed to diagnose the problem, please let me know and I'll be happy to provide them.
It would be useful to be able to connect to remote databases over SSH Tunnel.
It would be great to see how many tables are in the database just like it shows number of rows.
Relation
class to better handle query result dataclass SQLQueryBuilder:
def __init__(self, table_name):
self.table_name = table_name
self.query = ""
self.where_clauses = []
self.order_by = ""
self.limit = ""
def select(self, columns):
self.query = f"SELECT {', '.join(columns)} FROM {self.table_name}"
return self
def where(self, column, operator, value):
where_clause = f"{column} {operator} '{value}'"
self.where_clauses.append(where_clause)
return self
def order_by(self, column, order="ASC"):
self.order_by = f"ORDER BY {column} {order}"
return self
def limit(self, limit_value):
self.limit = f"LIMIT {limit_value}"
return self
def build(self):
query = self.query
if self.where_clauses:
query += " WHERE " + " AND ".join(self.where_clauses)
if self.order_by:
query += " " + self.order_by
if self.limit:
query += " " + self.limit
return query
# Example usage
query_builder = SQLQueryBuilder("users")
query = query_builder.select(["name", "email"]) \
.where("age", ">", 25) \
.where("city", "=", "New York") \
.order_by("name") \
.limit(10) \
.build()
print(query)
Things i want to add in next version:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.