== PostgreSQL Weekly News - August 24 2014 == - Mailing list pgsql-announce (2024)

From David Fetter
Subject == PostgreSQL Weekly News - August 24 2014 ==
Date August 25,2014
Msg-id 20140825053017.GA32551@fetter.org
Whole thread Raw
List pgsql-announce
== PostgreSQL Weekly News - August 24 2014 ==== PostgreSQL Product News ==barman 1.3.3, a backup and recovery manager for PostgreSQL, released.http://www.pgbarman.org/DBD::Pg version 3.4.0 released (Perl Postgres driver):http://search.cpan.org/dist/DBD-Pg/POWA, a PostgreSQL workload analyzer, released.http://dalibo.github.io/powa/quince (QUeries In C++ Expressions), a library to access PostgreSQLfrom C++, released.http://quince-lib.com== PostgreSQL Jobs for August ==http://archives.postgresql.org/pgsql-jobs/2014-08/threads.php== PostgreSQL Local ==PgDay Portland, Oregon 2014 will be held Saturday September 6, 2014.https://wiki.postgresql.org/wiki/PDXPUGDay2014Postgres Open 2014 will be in Chicago, IL, USA, September 17-19.Tickets and Tutorials now available for purchase.https://postgresopen.org/2014/tickets/http://postgresopen.org/2014/callforpapers/The 4th PgDay Ecuador will be held on Tuesday 7th in October at thecity of Quito, as part of the 5th International Congress of FreeSoftware. Send talk proposals to ecpug AT postgresql DOT org.The sixth PGDay Cubano be held on 13 and 14 October 2014 in Habana.https://postgresql.uci.cu/?p=380PGConf.EU 2014 in Madrid, Spain on October 21-24 is now open forregistration.http://2014.pgconf.eu/registration/PGDay.IT 2014 will take place in Prato on November the 7th 2014. TheInternational Call For Papers is now open:http://2014.pgday.it/call-for-papers-en/== PostgreSQL in the News ==Planet PostgreSQL: http://planet.postgresql.org/PostgreSQL Weekly News is brought to you this week by David FetterSubmit news and announcements by Sunday at 3:00pm Pacific time.Please send English language ones to david@fetter.org, German languageto pwn@pgug.de, Italian language to pwn@itpug.org. Spanish languageto pwn@arpug.com.ar.== Applied Patches ==Tom Lane pushed:- Fix obsolete mention of non-int64 support in CREATE SEQUENCE documentation. The old text explained what happened if we didn't have working int64 arithmetic. Since that case has been explicitly rejected by configure since 8.4.3, documenting it in the 9.x branches can only produce confusion. http://git.postgresql.org/pg/commitdiff/2b475c5946bc8a9beaff3f57b45cc440a78561a1- Fix core dump in jsonb #> operator, and add regression test cases. jsonb's #> operator segfaulted (dereferencing a null pointer) if the RHS was a zero-length array, as reported in bug #11207 from Justin Van Winkle. json's #> operator returns NULL in such cases, so for the moment let's make jsonb act likewise. Also add a bunch of regression test queries memorializing the -> and #> operators' behavior for this and other corner cases. There is a good argument for changing some of these behaviors, as they are not very consistent with each other, and throwing an error isn't necessarily a desirable behavior for operators that are likely to be used in indexes. However, everybody can agree that a core dump is the Wrong Thing, and we need test cases even if we decide to change their expected output later. http://git.postgresql.org/pg/commitdiff/9bac66020db75871463bafdb394568bf946e8991- More regression test cases for json/jsonb extraction operators. Cover some cases I omitted before, such as null and empty-string elements in the path array. This exposes another inconsistency: json_extract_path complains about empty path elements but jsonb_extract_path does not. http://git.postgresql.org/pg/commitdiff/fa069822f5a02bbbe46bada0b6e420a89c5f7484- Fix corner-case behaviors in JSON/JSONB field extraction operators. Cause the path extraction operators to return their lefthand input, not NULL, if the path array has no elements. This seems more consistent since the case ought to correspond to applying the simple extraction operator (->) zero times. Cause other corner cases in field/element/path extraction to return NULL rather than failing. This behavior is arguably more useful than throwing an error, since it allows an expression index using these operators to be built even when not all values in the column are suitable for the extraction being indexed. Moreover, we already had multiple inconsistencies between the path extraction operators and the simple extraction operators, as well as inconsistencies between the JSON and JSONB code paths. Adopt a uniform rule of returning NULL rather than throwing an error when the JSON input does not have a structure that permits the request to be satisfied. Back-patch to 9.4. Update the release notes to list this as a behavior change since 9.3. http://git.postgresql.org/pg/commitdiff/41dd50e84df39e31595f3472b0cb6d00f63b3f99- Fix another ancient memory-leak bug in relcache.c. CheckConstraintFetch() leaked a cstring in the caller's context for each CHECK constraint expression it copied into the relcache. Ordinarily that isn't problematic, but it can be during CLOBBER_CACHE testing because so many reloads can happen during a single query; so complicate the code slightly to allow freeing the cstring after use. Per testing on buildfarm member barnacle. This is exactly like the leak fixed in AttrDefaultFetch() by commit 078b2ed291c758e7125d72c3a235f128d40a232b. (Yes, this time I did look for other instances of the same coding pattern :-(.) Like that patch, no back-patch, since it seems unlikely that there's any problem except under very artificial test conditions. BTW, it strikes me that both of these places would require further work comparable to commit ab8c84db2f7af008151b848cf1d6a4672a39eecd, if we ever supported defaults or check constraints on system catalogs: they both assume they are copying into an empty relcache data structure, and that conceivably wouldn't be the case during recursive reloading of a system catalog. This does not seem worth worrying about for the moment, since there is no near-term prospect of supporting any such thing. So I'll just note the possibility for the archives' sake. http://git.postgresql.org/pg/commitdiff/73eba19aebe0101837668e39267469ca34373552Heikki Linnakangas pushed:- Reorganize functions in be-secure-openssl.c. Move the functions within the file so that public interface functions come first, followed by internal functions. Previously, be_tls_write was first, then internal stuff, and finally the rest of the public interface, which clearly didn't make much sense. Per Andres Freund's complaint. http://git.postgresql.org/pg/commitdiff/48d50840d53eb62842c0d9b54eab9cd7c9a3a46d- Use comma+space as the separator in the default search_path. While the space is optional, it seems nicer to be consistent with what you get if you do "SET search_path=...". SET always normalizes the separator to be comma+space. Christoph Martin http://git.postgresql.org/pg/commitdiff/02587dcddc2cb5d9f7a17cb0281d168f5a0d6297- Add #define INT64_MODIFIER for the printf length modifier for 64-bit ints. We have had INT64_FORMAT and UINT64_FORMAT for a long time, but that's not good enough if you want something more exotic, like "%20lld". Abhijit Menon-Sen, per Andres Freund's suggestion. http://git.postgresql.org/pg/commitdiff/ce486056ecd28050f367894a2b5aad3656d37511- Change the way pg_basebackup's tablespace mapping is implemented. Previously, we would first create the symlinks the way they are in the original system, and at the end replace them with the mapped symlinks. That never really made much sense, so now we create the symlink pointing to the correct location to begin with, so that there's no need to fix them at the end. The old coding didn't work correctly on Windows, because Windows junction points look more like directories than files, and ought to be removed with rmdir rather than unlink. Also, it incorrectly used "%d" rather than "%u" to print an Oid, but that's gone now. Report and patch by Amit Kapila, with minor changes by me. Reviewed by MauMau. Backpatch to 9.4, where the --tablespace feature was added. http://git.postgresql.org/pg/commitdiff/8d938eb0797e7acd925a2adf72315f8ab1586d83- Fix comment in pg_basebackup. The option is called --tablespace-mapping, not --tablespace. Amit Kapila http://git.postgresql.org/pg/commitdiff/2af93640ad14028297fbc750e4c2338ad11a3c58Gregory Stark pushed:- Fix further concerns about psql wrapping in expanded mode having collateral damage on other formats, by Sergey Muraviov. http://git.postgresql.org/pg/commitdiff/458ef6bad15702a3ac9b7b302a0378f8817620c0- Adjust Release Notes to reflect holding off wrapped expanded mode until 9.5 (thanks Michael Paquier) http://git.postgresql.org/pg/commitdiff/663675885ec2c97c8b59ce3e30f6ad05d162a584Noah Misch pushed:- Replace a few strncmp() calls with strlcpy(). strncmp() is a specialized API unsuited for routine copying into fixed-size buffers. On a system where the length of a single filename can exceed MAXPGPATH, the pg_archivecleanup change prevents a simple crash in the subsequent strlen(). Few filesystems support names that long, and calling pg_archivecleanup with untrusted input is still not a credible use case. Therefore, no back-patch. David Rowley http://git.postgresql.org/pg/commitdiff/fb2aece8ae4e6f23310d7c87c7da3fec6f5df3a1- Install libpq DLL with $(INSTALL_SHLIB). Programs need execute permission on a DLL file to load it. MSYS "install" ignores the mode argument, and our Cygwin build statically links libpq into programs. That explains the lack of buildfarm trouble. Back-patch to 9.0 (all supported versions). http://git.postgresql.org/pg/commitdiff/8605bc75219fd9a46fbb38909f83bcdae56b6e01- Make pg_service.conf sample LDIF more portable. The aboriginal sample placed connection parameters in groupOfUniqueNames/uniqueMember. OpenLDAP, at least as early as version 2.4.23, rejects uniqueMember entries that do not conform to the syntax for a distinguished name. Use device/description, which is free-form. Back-patch to 9.4 for web site visibility. http://git.postgresql.org/pg/commitdiff/7fc5f1a3550ca9395051b592df150de79804131a- Document new trigger-related forms of ALTER FOREIGN TABLE. Oversight in commit 7cbe57c34dec4860243e6d0f81738cfbb6e5d069. Back-patch to 9.4, where that commit first appeared. In passing, release-note the FDW API postcondition change from the same commit. http://git.postgresql.org/pg/commitdiff/10718612fb23a5853e56eb792a6b1503ebddf190- Finish adding file version information to installed Windows binaries. In support of this, have the MSVC build follow GNU make in preferring GNUmakefile over Makefile when a directory contains both. Michael Paquier, reviewed by MauMau. http://git.postgresql.org/pg/commitdiff/ee9569e4df1c3bdb6858f4f65d0770783c32a84dFujii Masao pushed:- Fix bug in checking of IDENTIFY_SYSTEM result. 5a991ef8692ed0d170b44958a81a6bd70e90585 added new column into the result of IDENTIFY_SYSTEM command. But it was not reflected into several codes checking that result. Specifically though the number of columns in the result was increased to 4, it was still compared with 3 in some replication codes. Back-patch to 9.4 where the number of columns in IDENTIFY_SYSTEM result was increased. Report from Michael Paquier http://git.postgresql.org/pg/commitdiff/083d29c65b7897f90c70e6dc0a4240a5fa75c8f2- Revert "Fix bug in checking of IDENTIFY_SYSTEM result." This reverts commit 083d29c65b7897f90c70e6dc0a4240a5fa75c8f2. The commit changed the code so that it causes an errors when IDENTIFY_SYSTEM returns three columns. But which prevents us from using the replication-related utilities against the server with older version. This is not what we want. For that compatibility, we allow the utilities to receive three columns as the result of IDENTIFY_SYSTEM eventhough it actually returns four columns in 9.4 or later. Pointed out by Andres Freund. http://git.postgresql.org/pg/commitdiff/c4762886539b06da682045e19ba73dcee3789638Bruce Momjian pushed:- pg_upgrade: adjust logging to use QUERY_ALLOC lengths. Allows the logging to print the entire text of failed queries, rather than a truncated version. http://git.postgresql.org/pg/commitdiff/7567d94910c100a28a79122e86297cd7a4c90df6Stephen Frost pushed:- Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE'. As 'ALTER TABLESPACE .. MOVE ALL' really didn't change the tablespace but instead changed objects inside tablespaces, it made sense to rework the syntax and supporting functions to operate under the 'ALTER (TABLE|INDEX|MATERIALIZED VIEW)' syntax and to be in tablecmds.c. Pointed out by Alvaro, who also suggested the new syntax. Back-patch to 9.4. http://git.postgresql.org/pg/commitdiff/3c4cf080879b386d4ed1814667aca025caafe608Andres Freund pushed:- Add pinning_backends column to the pg_buffercache extension. The new column shows how many backends have a buffer pinned. That can be useful during development or to diagnose production issues e.g. caused by vacuum waiting for cleanup locks. To handle upgrades transparently - the extension might be used in views - deal with callers expecting the old number of columns. Reviewed by Fujii Masao and Rajeev rastogi. http://git.postgresql.org/pg/commitdiff/f57791985ac3d776cb67e9d69befde538cfdf13b- Fix newly introduced misspelling of existence in pg_buffercache. Peter Geoghegan http://git.postgresql.org/pg/commitdiff/ebf20f65d9383166d4b883258c091b245cf36217Peter Eisentraut pushed:- Fix whitespace http://git.postgresql.org/pg/commitdiff/3feda1bcbb653e954092bddd9c3eb681ab51fa2b- doc: Improve pg_restore help output. Add a note that some options can be specified multiple times to select multiple objects to restore. This replaces the somewhat confusing use of plurals in the option descriptions themselves. http://git.postgresql.org/pg/commitdiff/256bfb2c9ab89eefb963db025dfcc91893f0b8b3Alvaro Herrera pushed:- Fix outdated comment http://git.postgresql.org/pg/commitdiff/01d15a2677c738489e62295924298ef8a72528a8- Implement ALTER TABLE .. SET LOGGED / UNLOGGED. This enables changing permanent (logged) tables to unlogged and vice-versa. (Docs for ALTER TABLE / SET TABLESPACE got shuffled in an order that hopefully makes more sense than the original.) Author: Fabrízio de Royes Mello Reviewed by: Christoph Berg, Andres Freund, Thom Brown Some tweaking by Álvaro Herrera http://git.postgresql.org/pg/commitdiff/f41872d0c1239d36ab03393c39ec0b70e9ee2a3c== Rejected Patches (for now) ==No one was disappointed this week :-)== Pending Patches ==Anastasia Lubennikova and Heikki Linnakangas traded patches to enableindex-only scans for GiST.Fujii Masao and Michael Paquier traded patches to fix an issue withpg_receivexlog and replication slots.Adam Brightwell sent in another revision of a patch to implementrow-level access control.Heikki Linnakangas sent in another revision of a patch to do WALformat and API changes.Adam Brightwell sent in a PoC patch to create a new model around roleattributes and fine grained permissions meant to alleviate the currentover-dependence on superuser.Furuya Osamu sent in two more revisions of a patch to add fsyncfeedback to pg_receivexlog --status-interval.David Rowley sent in another revision of a patch to implement partialsorting.Rahila Syed sent in another revision of a patch to compress full-pagewrites.Tomas Vondra sent in another revision of a patch to fix an issue wherebad estimation together with large work_mem generates terribly slowhash joins.Vladislav Sterzhanov sent in a patch to enable KNN searches forSP-GiST.Michael Paquier and Fabrízio de Royes Mello traded patches to ensurethat the verbose output of pg_dump show the schema name.Jeff Davis and Tomas Vondra traded patches to do better memoryaccounting for hash aggregates.John Lumby sent in a patch to extend prefetching using asynchronousI/O.Amit Kapila sent in another revision of a patch to fix pg_basebackupwith respect to tablespaces on Windows.Alvaro Herrera sent in two more revisions of a patch to implementminmax indexes.Andreas 'ads' Scherbaum sent in a patch to explains that functionslike round() and others might behave differently depending onoperating system, and that this is correct according to an IEEEstandard.Michael Paquier sent in three more revisions of a patch to support Nsynchronous standby servers for N>1.Fabrízio de Royes Mello, Alvaro Herrera, and Michael Paquier tradedpatches to implement ALTER TABLE ... SET LOGGED.Tom Lane sent in a patch to make JSONB more TOAST-compressible.Julien Rouhaud sent in a patch to track number of files ready to bearchived in pg_stat_archiver.Bruce Momjian sent in a patch to update recommendations around pg_dumpto reflect current capabilities.Bruce Momjian sent in a patch to harden pg_upgrade.Amit Kapila sent in two more revisions of a patch to fix an issuewhere the -T option of pg_basebackup didn't work on Windows.Bruce Momjian sent in a patch to allow multiple -o/-O options inpg_upgrade.Kevin Grittner sent in another revision of a patch to enable deltarelations in AFTER triggers.Peter Geoghegan sent in another revision of a patch to add a b-treesort support optimization.Pavel Stehule sent in another revision of a patch to revamprow_to_json.Michael Paquier sent in another revision of a patch to removethe dependency on wsock32.lib when compiling code on Windows.Jov and Tom Lane traded patches to change alter user to be a truealias for alter role.Tomonari Katsumata sent in a patch to allow rounding up time valueless than its unit.Alvaro Herrera and Thomas Munro traded patches to add SKIP LOCKEDDATA.Haribabu Kommi sent in another revision of a patch to enable inettypes to support min/max.Michael Paquier sent in a patch to add a missing comment block at thetop of streamutil.h and receivelog.h.Fabien COELHO sent in another revision of a patch to create a pgbenchthrottling latency limit.Alexey Klyukin sent in another revision of a patch to implementsubject alternative names support for SSL connections.Amit Kapila sent in another revision of a patch to add ALTER SYSTEMRESET.

pgsql-announce by date:

Previous

From:Gabriele Bartolini
Date:
Subject:Barman 1.3.3 released

Next

From:Magnus Hagander
Date:
Subject:PGConf.EU 2014 schedule posted - Matt Asay to deliver keynote

By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.

== PostgreSQL Weekly News - August 24 2014 == - Mailing list pgsql-announce (2024)

References

Top Articles
Appointment Scheduling
Finding Quest Diagnostics Near Me: A Step-by-Step Guide | Lab Tests Guide
Ohio Houses With Land for Sale - 1,591 Properties
Rubratings Tampa
Promotional Code For Spades Royale
Breaded Mushrooms
Ofw Pinoy Channel Su
Slapstick Sound Effect Crossword
My.doculivery.com/Crowncork
Bc Hyundai Tupelo Ms
Lenscrafters Huebner Oaks
Nitti Sanitation Holiday Schedule
TS-Optics ToupTek Color Astro Camera 2600CP Sony IMX571 Sensor D=28.3 mm-TS2600CP
Nyuonsite
Costco Gas Foster City
Pricelinerewardsvisa Com Activate
Days Until Oct 8
Nearest Walgreens Or Cvs Near Me
The Listings Project New York
Drying Cloths At A Hammam Crossword Clue
Beaufort 72 Hour
JVID Rina sauce set1
How do you get noble pursuit?
John Deere 44 Snowblower Parts Manual
Delta Math Login With Google
Southtown 101 Menu
Ancestors The Humankind Odyssey Wikia
Dubois County Barter Page
Kristen Hanby Sister Name
Have you seen this child? Caroline Victoria Teague
Www Craigslist Com Shreveport Louisiana
Desirulez.tv
De beste uitvaartdiensten die goede rituele diensten aanbieden voor de laatste rituelen
Ewwwww Gif
Studio 22 Nashville Review
Kazwire
Unifi Vlan Only Network
Dr Adj Redist Cadv Prin Amex Charge
RECAP: Resilient Football rallies to claim rollercoaster 24-21 victory over Clarion - Shippensburg University Athletics
All Characters in Omega Strikers
Quick Base Dcps
Pgecom
Dyi Urban Dictionary
Bonecrusher Upgrade Rs3
About us | DELTA Fiber
786 Area Code -Get a Local Phone Number For Miami, Florida
What your eye doctor knows about your health
Prologistix Ein Number
Secondary Math 2 Module 3 Answers
Equinox Great Neck Class Schedule
Olay Holiday Gift Rebate.com
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 5874

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.