PostgreSQL La base de donnees la plus sophistiquee au monde.

Twitter


Utilisateur




Langue

Traductions de cette page:




Nouvelles hebdomadaires de PostgreSQL - 11 avril 2010

Les nouveautés des produits dérivés

La fonctionnalité 9.0 de la semaine

En une seule commande, GRANT et REVOKE peuvent maintenant opérer sur les objets avec une portée liée au schéma. [ndt-exemple : GRANT ... ON ALL TABLES IN SCHEMA monschema TO ...]

Offres d'emplois autour de PostgreSQL en avril

PostgreSQL Local

PostgreSQL dans les média

PostgreSQL Weekly News / les nouvelles hebdomadaires vous sont offertes cette semaine par David Fetter. Traduction par l'équipe PostgreSQLFr sous licence CC BY-NC-SA.

Proposez vos articles ou annonces avant dimanche 15:00 (heure du Pacifique). Merci de les envoyer en anglais à david (a) fetter.org, en allemand à pwn (a) pgug.de, en italien à pwn (a) itpug.org.

(lien vers l'article original)

Correctifs appliqués

ITAGAKI Takahiro a commité :

  • Assorted tab-completion improvements in psql. Added missing completions for ALTER SEQUENCE name OWNER TO, ALTER TYPE name RENAME TO, ALTER VIEW name ALTER COLUMN, ALTER VIEW name OWNER TO, and ALTER VIEW name SET SCHEMA. Fix wrong completions for ALTER FUNCTION/AGGREGATE name (arguments) where the "arguments" part was ignored, and ALTER ... SET SCHEMA, where "SCHEMA" was considered to be a variable name.
  • In pgsql/src/bin/pg_ctl/pg_ctl.c, add cygwin version check before using cygwin_conv_path(), and use cygwin_conv_to_full_win32_path() in older versions.
  • In pgsql/src/bin/psql/tab-complete.c, psql tab completion for ALTER DEFAULT PRIVILEGES and USER MAPPING FOR PUBLIC.

Bruce Momjian a commité :

  • In pgsql/doc/src/sgml/ddl.sgml, reword exclusion constriants to mention that the operator can return false or null, per Tom.

Simon Riggs a commité :

  • Change some debug ereports to elogs, as requested by translation team.
  • In pgsql/src/backend/access/transam/xlog.c, further message changes when recovery.conf parameters missing.

Heikki Linnakangas a commité :

  • In pgsql/src/backend/access/transam/recovery.conf.sample, rename "Log-streaming replication parameters" header to "Standby server parameters" in recovery.conf, to match the grouping in the documentation. Fujii Masao.
  • Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() during recovery. We might want to relax this in the future, but ThisTimeLineID isn't currently correct in backends during recovery, so the filename returned was wrong. Fujii Masao.
  • Allow quotes to be escaped in recovery.conf, by doubling them. This patch also makes the parsing a little bit stricter, rejecting garbage after the parameter value and values with missing ending quotes, for example.

Magnus Hagander a commité :

  • In pgsql/src/timezone/pgtz.c, log the actual timezone name that we fail to look up the values for in case the registry data doesn't follow the format we expect, to facilitate debugging.
  • In pgsql/src/timezone/pgtz.c, proceed to look for the next timezone when matching a localized Windows timezone name where the information in the registry is incomplete, instead of aborting. This fixes cases when the registry information is incomplete for a timezone that is alphabetically before the one that is in use. Per report from Alexander Forschner
  • In pgsql/src/timezone/pgtz.c, update list of Windows timezones we try to match localized names against to one that's up to date with Windows 2003R2.
  • In pgsql/src/timezone/pgtz.c, clean up inconsistent commas.
  • Perltidy run over the MSVC build system files, to clean up code formatting and indentation styles.

Tom Lane a commité :

  • Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works, rather than only sort-of working as the previous attempt had left it. Clean up some unnecessary differences between the way these were coded and the way the YYYY case was coded. Update the regression test cases that proved that it wasn't working.

Robert Haas a commité :

  • Make smart shutdown work in combination with Hot Standby/Streaming Replication. At present, killing the startup process does not release any locks it holds, so we must wait to stop the startup and walreceiver processes until all read-only backends have exited. Without this patch, the startup and walreceiver processes never exit, so the server gets permanently stuck in a half-shutdown state. Fujii Masao, with review, docs, and comment adjustments by me.

Correctifs rejetés (à ce jour)

  • Pas de déception cette semaine :-)

Correctifs en attente

  • Simon Riggs sent in two revisions of a patch to downgrade a FATAL message to a WARNING for hot standby when primary_conninfo or restore_command are left out.
  • Greg Sabino Mullane sent in a patch to show schema name for each table when REINDEX DATABASE is called.
  • Simon Riggs sent in a patch for Hot Standby to recover prepared transactions when starting up from shutdown.
  • Heikki Linnakangas sent in a patch to add signaling between walreceiver and startup process.
  • Heikki Linnakangas sent in a patch to keep a variable in shared memory to track the latest removed WAL segment. This can help with streaming replication in the case of a "disk full" condition on the primary.
  • Heikki Linnakangas sent in a patch to fix unsafe threading for syslogger on Windows.
  • Simon Riggs and Heikki Linnakangas traded patches to fix the issue where Hot Standby doesn't work right with shutdowns at an inopportune moment.
  • Jaime Casanova sent in a WIP patch to fix "make standbycheck".

 
pgwn/11_avril_2010.txt · Dernière modification: 2010/04/16 01:38 par buggy