
Database
batilei
Temporal - Spatial Data
展开
-
Create Remote Database Server - PostgreSQL
As I said yesterday that I tried to create a remote PostgreSQL database on the Ubuntu Server hosted by DigitalOcean. After I created the PostgreSQL, I met some problems connecting to the remote databa原创 2014-03-28 01:15:51 · 801 阅读 · 0 评论 -
Install PostgreSql and PostGIS On Ubuntu Server
There is an article[1] for installing PostgreSQL on Ubuntu. [2] actually is a even better one if you want to install PostgreSQL and PostGIS at the same time. In order to use PostGIS in database, yo原创 2014-03-27 02:52:48 · 850 阅读 · 0 评论 -
PostgreSQL special sql 1 - list all the columns and primary key
There are a few special sql commands that I used often recently, mark them here. 1: Show all the columns' name SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='yourtablename';原创 2014-03-30 04:40:31 · 933 阅读 · 0 评论 -
Transfer postgres database to another server - backup and restore
Currently I want to transfer all my local database to the remote server and I found a very simple solution. (1) Backup your database [1] (2) Transfer the backup to the destination server. (3)原创 2014-03-29 00:14:29 · 720 阅读 · 0 评论 -
Install The PostgreSQL on the Ubuntu Server hosted by the Digital Ocean
Today I tried to install the postgresql on the ubuntu server hosted by the digital ocean like[1]. It should be a quite easy task. But I kept getting errors when I typed the command "psql", the error s原创 2014-03-27 09:55:31 · 1524 阅读 · 0 评论