<feed xmlns='http://www.w3.org/2005/Atom'>
<title>postgresql.git/src/bin/scripts/droplang.c, branch master</title>
<subtitle>This is the main PostgreSQL git repository.</subtitle>
<id>http://git.postgresql.org/cgit/postgresql.git/atom?h=master</id>
<link rel='self' href='http://git.postgresql.org/cgit/postgresql.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/'/>
<updated>2017-03-23T18:16:45Z</updated>
<entry>
<title>Remove createlang and droplang</title>
<updated>2017-03-23T18:16:45Z</updated>
<author>
<name>Peter Eisentraut</name>
</author>
<published>2017-03-23T18:16:45Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=50c956add83963d7bbb367dd0b879fccddebd623'/>
<id>urn:sha1:50c956add83963d7bbb367dd0b879fccddebd623</id>
<content type='text'>
They have been deprecated since PostgreSQL 9.1.

Reviewed-by: Magnus Hagander &lt;magnus@hagander.net&gt;
Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
</content>
</entry>
<entry>
<title>Move atooid() definition to a central place</title>
<updated>2017-03-01T16:55:28Z</updated>
<author>
<name>Peter Eisentraut</name>
</author>
<published>2017-03-01T16:55:28Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=788af6f8541d5f30acec540e4fd3cb24f5347209'/>
<id>urn:sha1:788af6f8541d5f30acec540e4fd3cb24f5347209</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright via script for 2017</title>
<updated>2017-01-03T18:48:53Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2017-01-03T18:48:53Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=1d25779284fe1ba08ecd57e647292a9deb241376'/>
<id>urn:sha1:1d25779284fe1ba08ecd57e647292a9deb241376</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Field conninfo strings throughout src/bin/scripts.</title>
<updated>2016-08-08T14:07:46Z</updated>
<author>
<name>Noah Misch</name>
</author>
<published>2016-08-08T14:07:46Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=c400717172d77e5b07e51e04c5e5e13da181572e'/>
<id>urn:sha1:c400717172d77e5b07e51e04c5e5e13da181572e</id>
<content type='text'>
These programs nominally accepted conninfo strings, but they would
proceed to use the original dbname parameter as though it were an
unadorned database name.  This caused "reindexdb dbname=foo" to issue an
SQL command that always failed, and other programs printed a conninfo
string in error messages that purported to print a database name.  Fix
both problems by using PQdb() to retrieve actual database names.
Continue to print the full conninfo string when reporting a connection
failure.  It is informative there, and if the database name is the sole
problem, the server-side error message will include the name.  Beyond
those user-visible fixes, this allows a subsequent commit to synthesize
and use conninfo strings without that implementation detail leaking into
messages.  As a side effect, the "vacuuming database" message now
appears after, not before, the connection attempt.  Back-patch to 9.1
(all supported versions).

Reviewed by Michael Paquier and Peter Eisentraut.

Security: CVE-2016-5424
</content>
</entry>
<entry>
<title>Move psql's print.c and mbprint.c into src/fe_utils.</title>
<updated>2016-03-24T22:27:28Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2016-03-24T22:27:28Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=d65bea26a867e3bbd053bf87b985b0e113256414'/>
<id>urn:sha1:d65bea26a867e3bbd053bf87b985b0e113256414</id>
<content type='text'>
Just turning the crank ...
</content>
</entry>
<entry>
<title>Update copyright for 2016</title>
<updated>2016-01-02T18:33:40Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2016-01-02T18:33:40Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=ee943004466418595363d567f18c053bae407792'/>
<id>urn:sha1:ee943004466418595363d567f18c053bae407792</id>
<content type='text'>
Backpatch certain files through 9.1
</content>
</entry>
<entry>
<title>Improve handling of password reuse in src/bin/scripts programs.</title>
<updated>2015-12-23T20:45:43Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2015-12-23T20:45:43Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=ff402ae11b4d33e0e46c2730f63033d3631b8010'/>
<id>urn:sha1:ff402ae11b4d33e0e46c2730f63033d3631b8010</id>
<content type='text'>
This reverts most of commit 83dec5a71 in favor of having connectDatabase()
store the possibly-reusable password in a static variable, similar to the
coding we've had for a long time in pg_dump's version of that function.
To avoid possible problems with unwanted password reuse, make callers
specify whether it's reasonable to attempt to re-use the password.
This is a wash for cases where re-use isn't needed, but it is far simpler
for callers that do want that.  Functionally there should be no difference.

Even though we're past RC1, it seems like a good idea to back-patch this
into 9.5, like the prior commit.  Otherwise, if there are any third-party
users of connectDatabase(), they'll have to deal with an API change in
9.5 and then another one in 9.6.

Michael Paquier
</content>
</entry>
<entry>
<title>Fix behavior of printTable() and friends with externally-invoked pager.</title>
<updated>2015-12-02T23:20:41Z</updated>
<author>
<name>Tom Lane</name>
</author>
<published>2015-12-02T23:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=d8ff060ecd5fc2dd20021743518d376a11a0bfd8'/>
<id>urn:sha1:d8ff060ecd5fc2dd20021743518d376a11a0bfd8</id>
<content type='text'>
The formatting modes that depend on knowledge of the terminal window width
did not work right when printing a query result that's been fetched in
sections (as a result of FETCH_SIZE).  ExecQueryUsingCursor() would force
use of the pager as soon as there's more than one result section, and then
print.c would see an output file pointer that's not stdout and incorrectly
conclude that the terminal window width isn't relevant.

This has been broken all along for non-expanded "wrapped" output format,
and as of 9.5 the issue affects expanded mode as well.  The problem also
caused "\pset expanded auto" mode to invariably *not* switch to expanded
output in a segmented result, which seems to me to be exactly backwards.

To fix, we need to pass down an "is_pager" flag to inform the print.c
subroutines that some calling level has already replaced stdout with a
pager pipe, so they should (a) not do that again and (b) nonetheless honor
the window size.  (Notably, this makes the first is_pager test in
print_aligned_text() not be dead code anymore.)

This patch is a bit invasive because there are so many existing calls of
printQuery()/printTable(), but fortunately all but a couple can just pass
"false" for the added parameter.

Back-patch to 9.5 but no further.  Given the lack of field complaints,
it's not clear that we should change the behavior in stable branches.
Also, the API change for printQuery()/printTable() might possibly break
third-party code, again something we don't like to do in stable branches.
However, it's not quite too late to do this in 9.5, and with the larger
scope of the problem there, it seems worth doing.
</content>
</entry>
<entry>
<title>vacuumdb: don't prompt for passwords over and over</title>
<updated>2015-11-12T21:05:23Z</updated>
<author>
<name>Alvaro Herrera</name>
</author>
<published>2015-11-12T21:05:23Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=83dec5a712af251af15effbf781ddaedc3bf6b3b'/>
<id>urn:sha1:83dec5a712af251af15effbf781ddaedc3bf6b3b</id>
<content type='text'>
Having the script prompt for passwords over and over was a preexisting
problem when it processed multiple databases or when it processed
multiple analyze stages, but the parallel mode introduced in commit
a179232047 made it worse.

Fix the annoyance by keeping a copy of the password used by the first
connection that requires one.  Since users can (currently) only have a
single password, there's no need for more complex arrangements (such as
remembering one password per database).

Per bug #13741 reported by Eric Brown.  Patch authored and
cross-reviewed by Haribabu Kommi and Michael Paquier, slightly tweaked
by Álvaro Herrera.

Discussion: http://www.postgresql.org/message-id/20151027193919.931.54948@wrigleys.postgresql.org
Backpatch to 9.5, where parallel vacuumdb was introduced.
</content>
</entry>
<entry>
<title>Update copyright for 2015</title>
<updated>2015-01-06T16:43:47Z</updated>
<author>
<name>Bruce Momjian</name>
</author>
<published>2015-01-06T16:43:47Z</published>
<link rel='alternate' type='text/html' href='http://git.postgresql.org/cgit/postgresql.git/commit/?id=4baaf863eca5412e07a8441b3b7e7482b7a8b21a'/>
<id>urn:sha1:4baaf863eca5412e07a8441b3b7e7482b7a8b21a</id>
<content type='text'>
Backpatch certain files through 9.0
</content>
</entry>
</feed>
