<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/src/interfaces/ecpg/test/expected/sql-dyntest.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>Adjusted regression test results to the change I made in debug output for ecpglib.</title>
<updated>2010-03-21T11:38:16+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2010-03-21T11:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=654fff2311f564c276e29d460e07696f77b92847'/>
<id>654fff2311f564c276e29d460e07696f77b92847</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Fix SQL3 type return value.</title>
<updated>2010-01-13T08:41:50+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2010-01-13T08:41:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=cf4d9c4772d9b8efe7d132ce6556d6b338870515'/>
<id>cf4d9c4772d9b8efe7d132ce6556d6b338870515</id>
<content type='text'>
For non-SQL3 types ecpg used to return -Oid. This will break if there are
enough Oids to fill the namespace. Therefore we play it safe and return 0 if
there is no Oid-&gt;SQL3 tyoe mapping available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For non-SQL3 types ecpg used to return -Oid. This will break if there are
enough Oids to fill the namespace. Therefore we play it safe and return 0 if
there is no Oid-&gt;SQL3 tyoe mapping available.
</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>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>
<entry>
<title>- Finished major rewrite to use new protocol version</title>
<updated>2007-08-14T10:01:54+00:00</updated>
<author>
<name>Michael Meskes</name>
<email>meskes@postgresql.org</email>
</author>
<published>2007-08-14T10:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=635a0b9a8640bb7f2944a3f77ddc370f8dd7b010'/>
<id>635a0b9a8640bb7f2944a3f77ddc370f8dd7b010</id>
<content type='text'>
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
</pre>
</div>
</content>
</entry>
</feed>
