<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/src/interfaces/ecpg/test/expected/sql-quote.stderr, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Establish conventions about global object names used in regression tests.</title>
<updated>2016-07-17T22:42:43+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2016-07-17T22:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=18555b1323bd225c7882e80723c52f25ce60afed'/>
<id>18555b1323bd225c7882e80723c52f25ce60afed</id>
<content type='text'>
To ensure that "make installcheck" can be used safely against an existing
installation, we need to be careful about what global object names
(database, role, and tablespace names) we use; otherwise we might
accidentally clobber important objects.  There's been a weak consensus that
test databases should have names including "regression", and that test role
names should start with "regress_", but we didn't have any particular rule
about tablespace names; and neither of the other rules was followed with
any consistency either.

This commit moves us a long way towards having a hard-and-fast rule that
regression test databases must have names including "regression", and that
test role and tablespace names must start with "regress_".  It's not
completely there because I did not touch some test cases in rolenames.sql
that test creation of special role names like "session_user".  That will
require some rethinking of exactly what we want to test, whereas the intent
of this patch is just to hit all the cases in which the needed renamings
are cosmetic.

There is no enforcement mechanism in this patch either, but if we don't
add one we can expect that the tests will soon be violating the convention
again.  Again, that's not such a cosmetic change and it will require
discussion.  (But I did use a quick-hack enforcement patch to find these
cases.)

Discussion: &lt;16638.1468620817@sss.pgh.pa.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To ensure that "make installcheck" can be used safely against an existing
installation, we need to be careful about what global object names
(database, role, and tablespace names) we use; otherwise we might
accidentally clobber important objects.  There's been a weak consensus that
test databases should have names including "regression", and that test role
names should start with "regress_", but we didn't have any particular rule
about tablespace names; and neither of the other rules was followed with
any consistency either.

This commit moves us a long way towards having a hard-and-fast rule that
regression test databases must have names including "regression", and that
test role and tablespace names must start with "regress_".  It's not
completely there because I did not touch some test cases in rolenames.sql
that test creation of special role names like "session_user".  That will
require some rethinking of exactly what we want to test, whereas the intent
of this patch is just to hit all the cases in which the needed renamings
are cosmetic.

There is no enforcement mechanism in this patch either, but if we don't
add one we can expect that the tests will soon be violating the convention
again.  Again, that's not such a cosmetic change and it will require
discussion.  (But I did use a quick-hack enforcement patch to find these
cases.)

Discussion: &lt;16638.1468620817@sss.pgh.pa.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Split ecpg_execute() in constituent parts</title>
<updated>2014-01-16T21:06:50+00:00</updated>
<author>
<name>Alvaro Herrera</name>
<email>alvherre@alvh.no-ip.org</email>
</author>
<published>2014-01-16T21:06:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=61bee9f756ce875f3b678099a6bb9654bd2fa21a'/>
<id>61bee9f756ce875f3b678099a6bb9654bd2fa21a</id>
<content type='text'>
Split the rather long ecpg_execute() function into ecpg_build_params(),
ecpg_autostart_transaction(), a smaller ecpg_execute() and
ecpg_process_output().  There is no user-visible change here, only code
reorganization to support future patches.

Author: Zoltán Böszörményi

Reviewed by Antonin Houska.  Larger, older versions of this patch were
reviewed by Noah Misch and Michael Meskes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split the rather long ecpg_execute() function into ecpg_build_params(),
ecpg_autostart_transaction(), a smaller ecpg_execute() and
ecpg_process_output().  There is no user-visible change here, only code
reorganization to support future patches.

Author: Zoltán Böszörményi

Reviewed by Antonin Houska.  Larger, older versions of this patch were
reviewed by Noah Misch and Michael Meskes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ECPG regression tests independent of standard_conforming_strings.</title>
<updated>2010-07-20T01:57:19+00:00</updated>
<author>
<name>Robert Haas</name>
<email>rhaas@postgresql.org</email>
</author>
<published>2010-07-20T01:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=b25749cc64995ae668f6744765169b354a7f43be'/>
<id>b25749cc64995ae668f6744765169b354a7f43be</id>
<content type='text'>
Per buildfarm, again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per buildfarm, again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Streamlined array handling code in libecpg a little bit, in the process fixing yet another incorrect log output.</title>
<updated>2010-02-04T09:41:35+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2010-02-04T09:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=a96ad2fc7471b9abea0697b79ff3706c618d39f2'/>
<id>a96ad2fc7471b9abea0697b79ff3706c618d39f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>NLS cleanup in ecpglib</title>
<updated>2009-01-15T11:52:55+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2009-01-15T11:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=cb05ab81a857582161dd74cbfa91d4468e496cd1'/>
<id>cb05ab81a857582161dd74cbfa91d4468e496cd1</id>
<content type='text'>
Replace leftover instances of _() by ecpg_gettext(), the latter being the
correct way to refer to the library's message catalog, instead of the one of
the program using the library.

Drop NLS support for ecpg_log(), which is a debugging instrument similar to
elog() in the backend.

We cannot support NLS in the ecpg compatlib, because that requires
ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib.  It
doesn't seem worthwhile to worry about this, since the only translatable
string is "out of memory", and gettext probably won't be able to do much
without memory either.

Adjust messages to project style.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace leftover instances of _() by ecpg_gettext(), the latter being the
correct way to refer to the library's message catalog, instead of the one of
the program using the library.

Drop NLS support for ecpg_log(), which is a debugging instrument similar to
elog() in the backend.

We cannot support NLS in the ecpg compatlib, because that requires
ecpg_gettext, which is in ecpglib, which is not a dependency of compatlib.  It
doesn't seem worthwhile to worry about this, since the only translatable
string is "out of memory", and gettext probably won't be able to do much
without memory either.

Adjust messages to project style.
</pre>
</div>
</content>
</entry>
<entry>
<title>First rounf of whitespace changes. Everything but connect-test1 should be fine.</title>
<updated>2008-12-29T17:07:06+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2008-12-29T17:07:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=3c82099c82e2b51a09ab2317df26ef094ad7cc06'/>
<id>3c82099c82e2b51a09ab2317df26ef094ad7cc06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced manually synced preproc.y by the one created by the new script.</title>
<updated>2008-11-11T11:41:24+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2008-11-11T11:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d'/>
<id>c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d</id>
<content type='text'>
Adapted regression test files accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapted regression test files accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add localization support to ecpg.</title>
<updated>2008-05-16T15:20:04+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter_e@gmx.net</email>
</author>
<published>2008-05-16T15:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=e1bdd07c3c33d4004180506f1493efcbbbc02b4c'/>
<id>e1bdd07c3c33d4004180506f1493efcbbbc02b4c</id>
<content type='text'>
Author: Euler Taveira de Oliveira &lt;euler@timbira.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Author: Euler Taveira de Oliveira &lt;euler@timbira.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>- Moved from PQsetdbLogin to PQconnectDB.</title>
<updated>2008-03-27T07:56:02+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2008-03-27T07:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=9d7b256eeb838652a5e59693f1f24fe68b25ce73'/>
<id>9d7b256eeb838652a5e59693f1f24fe68b25ce73</id>
<content type='text'>
- Correctly parse connect options.
- Changed regression tests accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Correctly parse connect options.
- Changed regression tests accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaned up ecpglib and renamed functions that do not need to be exported.</title>
<updated>2007-10-03T11:11:12+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2007-10-03T11:11:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=7793c6ecca0560de152ec8dc0dea22d22c5d59af'/>
<id>7793c6ecca0560de152ec8dc0dea22d22c5d59af</id>
<content type='text'>
Created export list for ecpglib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Created export list for ecpglib.
</pre>
</div>
</content>
</entry>
</feed>
