Daily backups are always a good idea – but sometimes a convenient accessible history is more helpful than having to work with raw database dumps. For I, Librarian backups are rather easy. This document describes the workaround necessary in order to introduce shadowing and change history for the database used […]
SQL
Wenn phppgadmin kommentarlos leere SQL-Dumps liefert, kann das daran liegen, dass eine veraltete Kommandozeilenoption an pg_dump übergeben wird. In den Webserver-Logs finden sich dann Einträge wie /usr/lib/postgresql/8.4/bin/pg_dump: invalid option -- 'd' Try "pg_dump --help" for more information. Die relevanten Dateien können sich von Version zu Version unterscheiden. Daher wird hier […]
Bei Verwendung des date-Moduls einer Drupal-Installation kann es folgende Fehlermeldung geben: - warning: pg_query() [function.pg-query]: Query failed: FEHLER: Fehler »syntax error« bei »'2008-02-15 12:00:00 UTC'« at character 1 in [...]/includes/database.pgsql.inc on line 139. - user warning: query: '2008-02-15 12:00:00 UTC' AT TIME ZONE 'US/Central' in [...]/modules/date/date_api_sql.inc on line 96. Um […]