Posts by Caroline Salib • 31 points
5 posts
-
1
votes2
answers104
viewsA: json_decode($data) PHP
Hi! Maybe the way I did below can help you. $geojson = '{"type": "FeatureCollection","crs": {"type": "name","properties": {"name":"urn:ogc:def:crs:OGC:1.3:CRS84"}},"features": [{"type":…
-
0
votes2
answers56
viewsA: Function to expedite select
You are not closing the first function and ended up inserting a function inside another function and that of the syntax error. The correct one would be: include 'include/connection.php'; function…
phpanswered Caroline Salib 31 -
1
votes1
answer132
viewsA: Restore container base with Postgres
I was able to solve by running command through Docker-Compose: sudo docker exec -i app_postgres_94_1 pg_restore --host localhost --port 5432 --username "postgres" --dbname "database_name" --verbose…
-
0
votes1
answer49
viewsA: Postgresql problem
Maybe if you stop all postgres processes using a tool like htop and then try starting again with the command "sudo service postgresql start"... it is worth trying.
-
1
votes1
answer132
viewsQ: Restore container base with Postgres
I am using a container with postgres on an EC2 server and want to restore a base in this container via linux command. Any tips? I was trying this way: sudo docker exec -t postgres_94 pg_restore -c…