Search notes:

PostgreSQL

Default port: 5432
Name of database superuser: postgres

Determining version

With SQL:
select version();
select current_setting('server_version_num')
show server_version_num
ON the command line (first determines server version, second client version):
pg_config --version
psql      --version

Duplicating table structure

Postgres has a very easy way to clone a table, including its indices, comments etc.:
create table tableCopy (like tableOriginal including all);

See also

The Linux user postgres.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199969, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/PostgreSQL/index(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78