pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ECPG - Some errno definitions don't match to the manual
25+ messages / 7 participants
[nested] [flat]

* ECPG - Some errno definitions don't match to the manual
@ 2010-07-22 13:29 Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-07-22 13:29 UTC (permalink / raw)
  To: pgsql-docs; pgsql-general@postgresql.org

Hi all,

I'm looking into some ecpg part of the official manual,
and I have found some strange things.

I'm now investigating SQLCODE and SQLSTATE, and I have found
that some of the errno definitions don't match to the manual.

For example, the manual says that ECPG_CONVERT_BOOL could be `-207'.
However, ECPG_CONVERT_BOOL is defined as `-211' in ecpgerrno.h.

> -207 (ECPG_CONVERT_BOOL)
> 
>     This means the host variable is of type bool and the datum in the database is neither 't' nor 'f'. (SQLSTATE 42804) 

http://www.postgresql.org/docs/9.0/static/ecpg-errors.html

> #define ECPG_NUMERIC_FORMAT		-207
> #define ECPG_CONVERT_BOOL		-211

http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/include/ecpgerrno.h?rev=1.27;cont...

What does it mean? The manual is not up to date?

Any suggestions?

Regards,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-08-09 12:27 ` Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Robert Haas @ 2010-08-09 12:27 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: pgsql-docs; Michael Meskes <meskes@postgresql.org>

2010/7/22 Satoshi Nagayasu <satoshi.nagayasu@gmail.com>:
> Hi all,
>
> I'm looking into some ecpg part of the official manual,
> and I have found some strange things.
>
> I'm now investigating SQLCODE and SQLSTATE, and I have found
> that some of the errno definitions don't match to the manual.
>
> For example, the manual says that ECPG_CONVERT_BOOL could be `-207'.
> However, ECPG_CONVERT_BOOL is defined as `-211' in ecpgerrno.h.
>
>> -207 (ECPG_CONVERT_BOOL)
>>
>>     This means the host variable is of type bool and the datum in the database is neither 't' nor 'f'. (SQLSTATE 42804)
>
> http://www.postgresql.org/docs/9.0/static/ecpg-errors.html
>
>> #define ECPG_NUMERIC_FORMAT           -207
>> #define ECPG_CONVERT_BOOL             -211
>
> http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/include/ecpgerrno.h?rev=1.27;cont...
>
> What does it mean? The manual is not up to date?

Yeah, I think that's what it means.  Perhaps you could provide a patch
for the docs?

Another question is whether we oughn't to remove all mention of the
specific values of these constants from the documentation.  That
wouldn't prevent all problems in this area, because constants can
still be added and removed, but ISTM that including the specific
numerical values here is encouraging people to depend on those values
when they probably shouldn't.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
@ 2010-08-09 16:36   ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-08-09 16:36 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-docs; Michael Meskes <meskes@postgresql.org>

On 2010/08/09 21:27, Robert Haas wrote:
>> I'm now investigating SQLCODE and SQLSTATE, and I have found
>> that some of the errno definitions don't match to the manual.

>> What does it mean? The manual is not up to date?
>
> Yeah, I think that's what it means.  Perhaps you could provide a patch
> for the docs?

Sure, I will make a patch for this. Please wait a moment.

> Another question is whether we oughn't to remove all mention of the
> specific values of these constants from the documentation.  That
> wouldn't prevent all problems in this area, because constants can
> still be added and removed, but ISTM that including the specific
> numerical values here is encouraging people to depend on those values
> when they probably shouldn't.

Hmm, it's a difficult point. From the application programmers' viewpoint, error codes and error numbers would be an interface between their application and PostgreSQL internals. So I think (and I hope) it should be in the programmer's manual. On the other hand, from the PostgreSQL developer's viewpoint, it is hard to maintain all of documents up to date. So removing them from the manual will make maintenance easier.

I found that this difference was generated by the very very old change in the code repository. And I think it would never be happen anymore, because nowadays PostgreSQL developers, especially code reviewers, always require "document updates/patches" for any patches before applying. (as all you know :)

I agree with that taking care about both code and documents is not so easy, but the current review/development process seems to be appropriate.

Any comments or suggestions?

-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-08-10 03:29     ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-08-10 03:29 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-docs; Michael Meskes <meskes@postgresql.org>

On 2010/08/10 1:36, Satoshi Nagayasu wrote:
> On 2010/08/09 21:27, Robert Haas wrote:
>>> I'm now investigating SQLCODE and SQLSTATE, and I have found
>>> that some of the errno definitions don't match to the manual.
>
>>> What does it mean? The manual is not up to date?
>>
>> Yeah, I think that's what it means. Perhaps you could provide a patch
>> for the docs?
>
> Sure, I will make a patch for this. Please wait a moment.

A patch to fix this problem is attached.
Please take a look.

Regards,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>

Attachments:

ecpg.sgml.90b1.patch (text/plain, 8.8K) download *** ecpg.sgml.orig 2010-05-13 09:55:05.000000000 +0900 --- ecpg.sgml 2010-08-10 12:21:42.000000000 +0900 *************** *** 4791,4796 **** --- 4791,4816 ---- <variablelist> <varlistentry> + <term>0 (<symbol>ECPG_NO_ERROR</symbol>)</term> + <listitem> + <para> + (SQLSTATE 00000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> + <listitem> + <para> + This is a harmless condition indicating that the last command + retrieved or processed zero rows, or that you are at the end of + the cursor. (SQLSTATE 02000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> *************** *** 4883,4889 **** </varlistentry> <varlistentry> ! <term>-207 (<symbol>ECPG_CONVERT_BOOL</symbol>)</term> <listitem> <para> This means the host variable is of type <type>bool</type> and --- 4903,4957 ---- </varlistentry> <varlistentry> ! <term>-207 (<symbol>ECPG_NUMERIC_FORMAT</symbol>)</term> ! <listitem> ! <para> ! The host variable is of type <type>numeric</type> and the datum ! in the database is of another type and contains a value that ! cannot be interpreted as a <type>numeric</type>. ! (SQLSTATE 42804) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-208 (<symbol>ECPG_INTERVAL_FORMAT</symbol>)</term> ! <listitem> ! <para> ! The host variable is of type <type>interval</type> and the datum ! in the database is of another type and contains a value that ! cannot be interpreted as a <type>interval</type>. ! (SQLSTATE 42804) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-209 (<symbol>ECPG_DATE_FORMAT</symbol>)</term> ! <listitem> ! <para> ! The host variable is of type <type>date</type> and the datum in ! the database is of another type and contains a value that ! cannot be interpreted as a <type>date</type>. ! (SQLSTATE 42804) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-210 (<symbol>ECPG_TIMESTAMP_FORMAT</symbol>)</term> ! <listitem> ! <para> ! The host variable is of type <type>timestamp</type> and the ! datum in the database is of another type and contains a value ! that cannot be interpreted as a <type>timestamp</type>. ! (SQLSTATE 42804) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-211 (<symbol>ECPG_CONVERT_BOOL</symbol>)</term> <listitem> <para> This means the host variable is of type <type>bool</type> and *************** *** 4894,4900 **** </varlistentry> <varlistentry> ! <term>-208 (<symbol>ECPG_EMPTY</symbol>)</term> <listitem> <para> The statement sent to the <productname>PostgreSQL</productname> --- 4962,4968 ---- </varlistentry> <varlistentry> ! <term>-212 (<symbol>ECPG_EMPTY</symbol>)</term> <listitem> <para> The statement sent to the <productname>PostgreSQL</productname> *************** *** 4906,4912 **** </varlistentry> <varlistentry> ! <term>-209 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term> <listitem> <para> A null value was returned and no null indicator variable was --- 4974,4980 ---- </varlistentry> <varlistentry> ! <term>-213 (<symbol>ECPG_MISSING_INDICATOR</symbol>)</term> <listitem> <para> A null value was returned and no null indicator variable was *************** *** 4916,4922 **** </varlistentry> <varlistentry> ! <term>-210 (<symbol>ECPG_NO_ARRAY</symbol>)</term> <listitem> <para> An ordinary variable was used in a place that requires an --- 4984,4990 ---- </varlistentry> <varlistentry> ! <term>-214 (<symbol>ECPG_NO_ARRAY</symbol>)</term> <listitem> <para> An ordinary variable was used in a place that requires an *************** *** 4926,4932 **** </varlistentry> <varlistentry> ! <term>-211 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term> <listitem> <para> The database returned an ordinary variable in a place that --- 4994,5000 ---- </varlistentry> <varlistentry> ! <term>-215 (<symbol>ECPG_DATA_NOT_ARRAY</symbol>)</term> <listitem> <para> The database returned an ordinary variable in a place that *************** *** 4936,4941 **** --- 5004,5021 ---- </varlistentry> <varlistentry> + <term>-216 (<symbol>ECPG_ARRAY_INSERT</symbol>)</term> + <listitem> + <para> + The value could not be inserted into the array.(This is + disabled by <literal>#if 0</literal> in + <command>ecpg</command>.) + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-220 (<symbol>ECPG_NO_CONN</symbol>)</term> <listitem> <para> *************** *** 4966,4971 **** --- 5046,5063 ---- </varlistentry> <varlistentry> + <term>-239 (<symbol>ECPG_INFORMIX_DUPLICATE_KEY</symbol>)</term> + <listitem> + <para> + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-240 (<symbol>ECPG_UNKNOWN_DESCRIPTOR</symbol>)</term> <listitem> <para> *************** *** 5018,5023 **** --- 5110,5125 ---- </varlistentry> <varlistentry> + <term>-284 (<symbol>ECPG_INFORMIX_SUBSELECT_NOT_ONE</symbol>)</term> + <listitem> + <para> + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-400 (<symbol>ECPG_PGSQL</symbol>)</term> <listitem> <para> *************** *** 5050,5064 **** </varlistentry> <varlistentry> ! <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> <listitem> <para> ! This is a harmless condition indicating that the last command ! retrieved or processed zero rows, or that you are at the end of ! the cursor. (SQLSTATE 02000) </para> </listitem> </varlistentry> </variablelist> </para> </sect2> --- 5152,5231 ---- </varlistentry> <varlistentry> ! <term>-403 (<symbol>ECPG_DUPLICATE_KEY</symbol>)</term> <listitem> <para> ! Duplicate key error, and a violation for the unique ! constraint. ! (SQLSTATE 23505) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-404 (<symbol>ECPG_SUBSELECT_NOT_ONE</symbol>)</term> ! <listitem> ! <para> ! A result for the subquery is not single row. (SQLSTATE 21000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-600 (<symbol>ECPG_WARNING_UNRECOGNIZED</symbol>)</term> ! <listitem> ! <para> ! A query is ignored by the END. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-601 (<symbol>ECPG_WARNING_QUERY_IGNORED</symbol>)</term> ! <listitem> ! <para> ! Current transaction is aborted. Query is ignored by end of the ! transaction block. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-602 (<symbol>ECPG_WARNING_UNKNOWN_PORTAL</symbol>)</term> ! <listitem> ! <para> ! Invalid cursor name is given. (SQLSTATE 34000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-603 (<symbol>ECPG_WARNING_IN_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! Transaction is in progress. (SQLSTATE 25001) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-604 (<symbol>ECPG_WARNING_NO_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! There is no active (in-progress) transaction. (SQLSTATE 25P01) </para> </listitem> </varlistentry> + + <varlistentry> + <term>-605 (<symbol>ECPG_WARNING_PORTAL_EXISTS</symbol>)</term> + <listitem> + <para> + An existing cursor name is specified. (SQLSTATE 42P03) + </para> + </listitem> + </varlistentry> + </variablelist> </para> </sect2>
^ permalink raw reply [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-08-11 19:08       ` Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Robert Haas @ 2010-08-11 19:08 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: pgsql-docs; Michael Meskes <meskes@postgresql.org>

On Mon, Aug 9, 2010 at 11:29 PM, Satoshi Nagayasu
<satoshi.nagayasu@gmail.com> wrote:
> On 2010/08/10 1:36, Satoshi Nagayasu wrote:
>>
>> On 2010/08/09 21:27, Robert Haas wrote:
>>>>
>>>> I'm now investigating SQLCODE and SQLSTATE, and I have found
>>>> that some of the errno definitions don't match to the manual.
>>
>>>> What does it mean? The manual is not up to date?
>>>
>>> Yeah, I think that's what it means. Perhaps you could provide a patch
>>> for the docs?
>>
>> Sure, I will make a patch for this. Please wait a moment.
>
> A patch to fix this problem is attached.
> Please take a look.

I've applied the portion of this patch that just fixes the existing
entries to match ecpgerrno.h, and have back-patched it all the way
back to 7.4, since the contents of ecpgerrno.h haven't changed in the
interim.  The remainder of this will need more review than I can give
it right now: since I'm not familiar with ECPG, I can't easily verify
that the new entries you've added are correct.  I'd suggest posting a
new version and adding it here:

https://commitfest.postgresql.org/action/commitfest_view/open

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
@ 2010-08-12 00:51         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-08-12 00:51 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-docs; Michael Meskes <meskes@postgresql.org>

On 2010/08/12 4:08, Robert Haas wrote:
> On Mon, Aug 9, 2010 at 11:29 PM, Satoshi Nagayasu
> <satoshi.nagayasu@gmail.com>  wrote:
>> On 2010/08/10 1:36, Satoshi Nagayasu wrote:
>>>
>>> On 2010/08/09 21:27, Robert Haas wrote:
>>>>>
>>>>> I'm now investigating SQLCODE and SQLSTATE, and I have found
>>>>> that some of the errno definitions don't match to the manual.

>> A patch to fix this problem is attached.
>> Please take a look.
>
> I've applied the portion of this patch that just fixes the existing
> entries to match ecpgerrno.h, and have back-patched it all the way
> back to 7.4, since the contents of ecpgerrno.h haven't changed in the
> interim.  The remainder of this will need more review than I can give
> it right now: since I'm not familiar with ECPG, I can't easily verify
> that the new entries you've added are correct.  I'd suggest posting a
> new version and adding it here:
>
> https://commitfest.postgresql.org/action/commitfest_view/open

Thank you for the commit, and I'll put the remainder
to the commitfest page.

Regards,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-26 11:57           ` Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Peter Eisentraut @ 2010-09-26 11:57 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-docs

On tor, 2010-08-12 at 09:51 +0900, Satoshi Nagayasu wrote:
> Thank you for the commit, and I'll put the remainder
> to the commitfest page.

Please submit a new patch that applies on top of what was already
committed.




^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
@ 2010-09-27 22:51             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-27 23:29               ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  0 siblings, 2 replies; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-27 22:51 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-docs

Hi Peter,

Thanks for your reviewing.

On 2010/09/26 20:57, Peter Eisentraut wrote:
> On tor, 2010-08-12 at 09:51 +0900, Satoshi Nagayasu wrote:
>> Thank you for the commit, and I'll put the remainder
>> to the commitfest page.
>
> Please submit a new patch that applies on top of what was already
> committed.

Here is a new patch applicable to the cvs head.
Please check it out.

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>

Attachments:

ecpg-cvs.sgml.diff (text/plain, 7.2K) download *** pgsql.orig/doc/src/sgml/ecpg.sgml 2010-09-28 07:34:12.000000000 +0900 --- pgsql/doc/src/sgml/ecpg.sgml 2010-09-28 07:46:19.000000000 +0900 *************** *** 4794,4804 **** <variablelist> <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> ! Indicates that your virtual memory is exhausted. (SQLSTATE ! YE001) </para> </listitem> </varlistentry> --- 4794,4824 ---- <variablelist> <varlistentry> + <term>0 (<symbol>ECPG_NO_ERROR</symbol>)</term> + <listitem> + <para> + Indicates no error. (SQLSTATE 00000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> + <listitem> + <para> + This is a harmless condition indicating that the last command + retrieved or processed zero rows, or that you are at the end of + the cursor. (SQLSTATE 02000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> ! Indicates that your virtual memory is exhausted, defined as `-ENOMEM'. ! (SQLSTATE YE001) </para> </listitem> </varlistentry> *************** *** 4886,4891 **** --- 4906,4959 ---- </varlistentry> <varlistentry> + <term>-207 (<symbol>ECPG_NUMERIC_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>numeric</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>numeric</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-208 (<symbol>ECPG_INTERVAL_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>interval</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>interval</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-209 (<symbol>ECPG_DATE_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>date</type> and the datum in + the database is of another type and contains a value that + cannot be interpreted as a <type>date</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-210 (<symbol>ECPG_TIMESTAMP_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>timestamp</type> and the + datum in the database is of another type and contains a value + that cannot be interpreted as a <type>timestamp</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-211 (<symbol>ECPG_CONVERT_BOOL</symbol>)</term> <listitem> <para> *************** *** 4939,4944 **** --- 5007,5024 ---- </varlistentry> <varlistentry> + <term>-216 (<symbol>ECPG_ARRAY_INSERT</symbol>)</term> + <listitem> + <para> + The value could not be inserted into the array.(This is + disabled by <literal>#if 0</literal> in + <command>ecpg</command>.) + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-220 (<symbol>ECPG_NO_CONN</symbol>)</term> <listitem> <para> *************** *** 4969,4974 **** --- 5049,5066 ---- </varlistentry> <varlistentry> + <term>-239 (<symbol>ECPG_INFORMIX_DUPLICATE_KEY</symbol>)</term> + <listitem> + <para> + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-240 (<symbol>ECPG_UNKNOWN_DESCRIPTOR</symbol>)</term> <listitem> <para> *************** *** 5021,5026 **** --- 5113,5128 ---- </varlistentry> <varlistentry> + <term>-284 (<symbol>ECPG_INFORMIX_SUBSELECT_NOT_ONE</symbol>)</term> + <listitem> + <para> + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-400 (<symbol>ECPG_PGSQL</symbol>)</term> <listitem> <para> *************** *** 5053,5067 **** </varlistentry> <varlistentry> ! <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> <listitem> <para> ! This is a harmless condition indicating that the last command ! retrieved or processed zero rows, or that you are at the end of ! the cursor. (SQLSTATE 02000) </para> </listitem> </varlistentry> </variablelist> </para> </sect2> --- 5155,5234 ---- </varlistentry> <varlistentry> ! <term>-403 (<symbol>ECPG_DUPLICATE_KEY</symbol>)</term> <listitem> <para> ! Duplicate key error, and a violation for the unique ! constraint. ! (SQLSTATE 23505) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-404 (<symbol>ECPG_SUBSELECT_NOT_ONE</symbol>)</term> ! <listitem> ! <para> ! A result for the subquery is not single row. (SQLSTATE 21000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-600 (<symbol>ECPG_WARNING_UNRECOGNIZED</symbol>)</term> ! <listitem> ! <para> ! A query is ignored by the END. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-601 (<symbol>ECPG_WARNING_QUERY_IGNORED</symbol>)</term> ! <listitem> ! <para> ! Current transaction is aborted. Query is ignored by end of the ! transaction block. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-602 (<symbol>ECPG_WARNING_UNKNOWN_PORTAL</symbol>)</term> ! <listitem> ! <para> ! Invalid cursor name is given. (SQLSTATE 34000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-603 (<symbol>ECPG_WARNING_IN_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! Transaction is in progress. (SQLSTATE 25001) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-604 (<symbol>ECPG_WARNING_NO_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! There is no active (in-progress) transaction. (SQLSTATE 25P01) </para> </listitem> </varlistentry> + + <varlistentry> + <term>-605 (<symbol>ECPG_WARNING_PORTAL_EXISTS</symbol>)</term> + <listitem> + <para> + An existing cursor name is specified. (SQLSTATE 42P03) + </para> + </listitem> + </varlistentry> + </variablelist> </para> </sect2>
^ permalink raw reply [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-27 23:29               ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  1 sibling, 0 replies; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-27 23:29 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-docs

As a comment from Álvaro Herrera, I have made some changes around ENOMEM
from quotes to tags.

- Indicates that your virtual memory is exhausted, defined as `-ENOMEM'.

+ Indicates that your virtual memory is exhausted, defined as <literal>-ENOMEM</literal>.

Thanks,

On 2010/09/28 7:51, Satoshi Nagayasu wrote:
> Hi Peter,
>
> Thanks for your reviewing.
>
> On 2010/09/26 20:57, Peter Eisentraut wrote:
>> On tor, 2010-08-12 at 09:51 +0900, Satoshi Nagayasu wrote:
>>> Thank you for the commit, and I'll put the remainder
>>> to the commitfest page.
>>
>> Please submit a new patch that applies on top of what was already
>> committed.
>
> Here is a new patch applicable to the cvs head.
> Please check it out.
>
> Thanks,


-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>

Attachments:

ecpg-cvs2.sgml.diff (text/plain, 7.2K) download *** pgsql.orig/doc/src/sgml/ecpg.sgml 2010-09-28 07:34:12.000000000 +0900 --- pgsql/doc/src/sgml/ecpg.sgml 2010-09-28 07:46:19.000000000 +0900 *************** *** 4794,4804 **** <variablelist> <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> ! Indicates that your virtual memory is exhausted. (SQLSTATE ! YE001) </para> </listitem> </varlistentry> --- 4794,4824 ---- <variablelist> <varlistentry> + <term>0 (<symbol>ECPG_NO_ERROR</symbol>)</term> + <listitem> + <para> + Indicates no error. (SQLSTATE 00000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> + <listitem> + <para> + This is a harmless condition indicating that the last command + retrieved or processed zero rows, or that you are at the end of + the cursor. (SQLSTATE 02000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> ! Indicates that your virtual memory is exhausted, defined as <literal>-ENOMEM</literal>. ! (SQLSTATE YE001) </para> </listitem> </varlistentry> *************** *** 4886,4891 **** --- 4906,4959 ---- </varlistentry> <varlistentry> + <term>-207 (<symbol>ECPG_NUMERIC_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>numeric</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>numeric</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-208 (<symbol>ECPG_INTERVAL_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>interval</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>interval</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-209 (<symbol>ECPG_DATE_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>date</type> and the datum in + the database is of another type and contains a value that + cannot be interpreted as a <type>date</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-210 (<symbol>ECPG_TIMESTAMP_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>timestamp</type> and the + datum in the database is of another type and contains a value + that cannot be interpreted as a <type>timestamp</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-211 (<symbol>ECPG_CONVERT_BOOL</symbol>)</term> <listitem> <para> *************** *** 4939,4944 **** --- 5007,5024 ---- </varlistentry> <varlistentry> + <term>-216 (<symbol>ECPG_ARRAY_INSERT</symbol>)</term> + <listitem> + <para> + The value could not be inserted into the array.(This is + disabled by <literal>#if 0</literal> in + <command>ecpg</command>.) + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-220 (<symbol>ECPG_NO_CONN</symbol>)</term> <listitem> <para> *************** *** 4969,4974 **** --- 5049,5066 ---- </varlistentry> <varlistentry> + <term>-239 (<symbol>ECPG_INFORMIX_DUPLICATE_KEY</symbol>)</term> + <listitem> + <para> + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-240 (<symbol>ECPG_UNKNOWN_DESCRIPTOR</symbol>)</term> <listitem> <para> *************** *** 5021,5026 **** --- 5113,5128 ---- </varlistentry> <varlistentry> + <term>-284 (<symbol>ECPG_INFORMIX_SUBSELECT_NOT_ONE</symbol>)</term> + <listitem> + <para> + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-400 (<symbol>ECPG_PGSQL</symbol>)</term> <listitem> <para> *************** *** 5053,5067 **** </varlistentry> <varlistentry> ! <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> <listitem> <para> ! This is a harmless condition indicating that the last command ! retrieved or processed zero rows, or that you are at the end of ! the cursor. (SQLSTATE 02000) </para> </listitem> </varlistentry> </variablelist> </para> </sect2> --- 5155,5234 ---- </varlistentry> <varlistentry> ! <term>-403 (<symbol>ECPG_DUPLICATE_KEY</symbol>)</term> <listitem> <para> ! Duplicate key error, and a violation for the unique ! constraint. ! (SQLSTATE 23505) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-404 (<symbol>ECPG_SUBSELECT_NOT_ONE</symbol>)</term> ! <listitem> ! <para> ! A result for the subquery is not single row. (SQLSTATE 21000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-600 (<symbol>ECPG_WARNING_UNRECOGNIZED</symbol>)</term> ! <listitem> ! <para> ! A query is ignored by the END. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-601 (<symbol>ECPG_WARNING_QUERY_IGNORED</symbol>)</term> ! <listitem> ! <para> ! Current transaction is aborted. Query is ignored by end of the ! transaction block. ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-602 (<symbol>ECPG_WARNING_UNKNOWN_PORTAL</symbol>)</term> ! <listitem> ! <para> ! Invalid cursor name is given. (SQLSTATE 34000) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-603 (<symbol>ECPG_WARNING_IN_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! Transaction is in progress. (SQLSTATE 25001) ! </para> ! </listitem> ! </varlistentry> ! ! <varlistentry> ! <term>-604 (<symbol>ECPG_WARNING_NO_TRANSACTION</symbol>)</term> ! <listitem> ! <para> ! There is no active (in-progress) transaction. (SQLSTATE 25P01) </para> </listitem> </varlistentry> + + <varlistentry> + <term>-605 (<symbol>ECPG_WARNING_PORTAL_EXISTS</symbol>)</term> + <listitem> + <para> + An existing cursor name is specified. (SQLSTATE 42P03) + </para> + </listitem> + </varlistentry> + </variablelist> </para> </sect2>
^ permalink raw reply [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-28 00:40               ` Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  1 sibling, 1 reply; 25+ messages in thread

From: Robert Haas @ 2010-09-28 00:40 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

On Mon, Sep 27, 2010 at 6:51 PM, Satoshi Nagayasu
<satoshi.nagayasu@gmail.com> wrote:
> Hi Peter,
>
> Thanks for your reviewing.
>
> On 2010/09/26 20:57, Peter Eisentraut wrote:
>>
>> On tor, 2010-08-12 at 09:51 +0900, Satoshi Nagayasu wrote:
>>>
>>> Thank you for the commit, and I'll put the remainder
>>> to the commitfest page.
>>
>> Please submit a new patch that applies on top of what was already
>> committed.
>
> Here is a new patch applicable to the cvs head.
> Please check it out.

Are you aware that we have switched to git?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
@ 2010-09-28 00:55                 ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-28 00:55 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

On 2010/09/28 9:40, Robert Haas wrote:
>> Here is a new patch applicable to the cvs head.
>> Please check it out.
>
> Are you aware that we have switched to git?

Oops, I visited a page describing about the coderepository
from here:

http://www.postgresql.org/developer/coding

Yeah, I know the code repository has been moved to Git,
but I believed that Git and anon-cvs are available
since the doc mentions with them both.

anon-cvs is not available for now?
If so, I have to learn Git at first.

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-28 01:31                   ` Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 25+ messages in thread

From: Greg Smith @ 2010-09-28 01:31 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

Satoshi Nagayasu wrote:
> Oops, I visited a page describing about the coderepository
> from here:
>
> http://www.postgresql.org/developer/coding

I just made a pass through the wiki cleaning up all of the outdated CVS 
related stuff I knew of there that this page was pointing to.  It's a 
sequential group of 9 changes to revert if we're forsaken and somehow 
this conversion stops.  Main thing left with obsolete info is 
http://developer.postgresql.org/pgdocs/postgres/cvs.html

> Yeah, I know the code repository has been moved to Git,
> but I believed that Git and anon-cvs are available
> since the doc mentions with them both.

If the patch you generated applies to the git version of the repo 
cleanly, you may be fine for now.  The anon-cvs version is mainly 
intended as a source to get a copy of the source code just to compile or 
read, not to develop patches against.  For that it would be better to 
switch to git when you get some time to spend on that.

-- 
Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book




^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
@ 2010-09-28 02:38                     ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 03:40                       ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
  2010-09-29 11:04                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 2 replies; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-28 02:38 UTC (permalink / raw)
  To: Greg Smith <greg@2ndquadrant.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

On 2010/09/28 10:31, Greg Smith wrote:
> If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that.

So, I have created another patch from git repository.
The attached one could be applied to the latest code.

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>

Attachments:

ecpg-git.sgml.diff (text/plain, 6.4K) download diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 3245064..e45ca77 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -4794,11 +4794,31 @@ struct <variablelist> <varlistentry> + <term>0 (<symbol>ECPG_NO_ERROR</symbol>)</term> + <listitem> + <para> + Indicates no error. (SQLSTATE 00000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> + <listitem> + <para> + This is a harmless condition indicating that the last command + retrieved or processed zero rows, or that you are at the end of + the cursor. (SQLSTATE 02000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-12 (<symbol>ECPG_OUT_OF_MEMORY</symbol>)</term> <listitem> <para> - Indicates that your virtual memory is exhausted. (SQLSTATE - YE001) + Indicates that your virtual memory is exhausted, defined as <literal>-ENOMEM</literal>. + (SQLSTATE YE001) </para> </listitem> </varlistentry> @@ -4886,6 +4906,54 @@ struct </varlistentry> <varlistentry> + <term>-207 (<symbol>ECPG_NUMERIC_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>numeric</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>numeric</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-208 (<symbol>ECPG_INTERVAL_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>interval</type> and the datum + in the database is of another type and contains a value that + cannot be interpreted as a <type>interval</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-209 (<symbol>ECPG_DATE_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>date</type> and the datum in + the database is of another type and contains a value that + cannot be interpreted as a <type>date</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-210 (<symbol>ECPG_TIMESTAMP_FORMAT</symbol>)</term> + <listitem> + <para> + The host variable is of type <type>timestamp</type> and the + datum in the database is of another type and contains a value + that cannot be interpreted as a <type>timestamp</type>. + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-211 (<symbol>ECPG_CONVERT_BOOL</symbol>)</term> <listitem> <para> @@ -4939,6 +5007,18 @@ struct </varlistentry> <varlistentry> + <term>-216 (<symbol>ECPG_ARRAY_INSERT</symbol>)</term> + <listitem> + <para> + The value could not be inserted into the array.(This is + disabled by <literal>#if 0</literal> in + <command>ecpg</command>.) + (SQLSTATE 42804) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-220 (<symbol>ECPG_NO_CONN</symbol>)</term> <listitem> <para> @@ -4969,6 +5049,18 @@ struct </varlistentry> <varlistentry> + <term>-239 (<symbol>ECPG_INFORMIX_DUPLICATE_KEY</symbol>)</term> + <listitem> + <para> + Duplicate key error, and a violation for the unique + constraint (Informix compatible mode). + (SQLSTATE 23505) + + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-240 (<symbol>ECPG_UNKNOWN_DESCRIPTOR</symbol>)</term> <listitem> <para> @@ -5021,6 +5113,16 @@ struct </varlistentry> <varlistentry> + <term>-284 (<symbol>ECPG_INFORMIX_SUBSELECT_NOT_ONE</symbol>)</term> + <listitem> + <para> + A result of the subquery is not single row (Informix compatibie mode). + (SQLSTATE 21000) + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>-400 (<symbol>ECPG_PGSQL</symbol>)</term> <listitem> <para> @@ -5053,15 +5155,80 @@ struct </varlistentry> <varlistentry> - <term>100 (<symbol>ECPG_NOT_FOUND</symbol>)</term> + <term>-403 (<symbol>ECPG_DUPLICATE_KEY</symbol>)</term> <listitem> <para> - This is a harmless condition indicating that the last command - retrieved or processed zero rows, or that you are at the end of - the cursor. (SQLSTATE 02000) + Duplicate key error, and a violation for the unique + constraint. + (SQLSTATE 23505) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-404 (<symbol>ECPG_SUBSELECT_NOT_ONE</symbol>)</term> + <listitem> + <para> + A result for the subquery is not single row. (SQLSTATE 21000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-600 (<symbol>ECPG_WARNING_UNRECOGNIZED</symbol>)</term> + <listitem> + <para> + A query is ignored by the END. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-601 (<symbol>ECPG_WARNING_QUERY_IGNORED</symbol>)</term> + <listitem> + <para> + Current transaction is aborted. Query is ignored by end of the + transaction block. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-602 (<symbol>ECPG_WARNING_UNKNOWN_PORTAL</symbol>)</term> + <listitem> + <para> + Invalid cursor name is given. (SQLSTATE 34000) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-603 (<symbol>ECPG_WARNING_IN_TRANSACTION</symbol>)</term> + <listitem> + <para> + Transaction is in progress. (SQLSTATE 25001) + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term>-604 (<symbol>ECPG_WARNING_NO_TRANSACTION</symbol>)</term> + <listitem> + <para> + There is no active (in-progress) transaction. (SQLSTATE 25P01) </para> </listitem> </varlistentry> + + <varlistentry> + <term>-605 (<symbol>ECPG_WARNING_PORTAL_EXISTS</symbol>)</term> + <listitem> + <para> + An existing cursor name is specified. (SQLSTATE 42P03) + </para> + </listitem> + </varlistentry> + </variablelist> </para> </sect2>
^ permalink raw reply [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-28 03:40                       ` Alvaro Herrera <alvherre@commandprompt.com>
  2010-09-28 04:06                         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  1 sibling, 1 reply; 25+ messages in thread

From: Alvaro Herrera @ 2010-09-28 03:40 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Greg Smith <greg@2ndquadrant.com>; Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

Excerpts from Satoshi Nagayasu's message of lun sep 27 22:38:44 -0400 2010:
> On 2010/09/28 10:31, Greg Smith wrote:
> > If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that.
> 
> So, I have created another patch from git repository.
> The attached one could be applied to the latest code.

Looking at this patch I cannot but wonder if this should be a table
instead of a plain list.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 03:40                       ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
@ 2010-09-28 04:06                         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 05:08                           ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-28 04:06 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; +Cc: Greg Smith <greg@2ndquadrant.com>; Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

On 2010/09/28 12:40, Alvaro Herrera wrote:
> Excerpts from Satoshi Nagayasu's message of lun sep 27 22:38:44 -0400 2010:
>> On 2010/09/28 10:31, Greg Smith wrote:
>>> If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that.
>>
>> So, I have created another patch from git repository.
>> The attached one could be applied to the latest code.
>
> Looking at this patch I cannot but wonder if this should be a table
> instead of a plain list.

What's happen if you run the patch command at top of the repository?

[snaga@devwa02 postgresql]$ pwd
/home/snaga/pgsql/repo/postgresql
[snaga@devwa02 postgresql]$ patch -p1 < ../ecpg-git.sgml.diff
patching file doc/src/sgml/ecpg.sgml
[snaga@devwa02 postgresql]$

or

[snaga@devwa02 postgresql]$ git apply --reject ../ecpg-git.sgml.diff
../ecpg-git.sgml.diff:123: trailing whitespace.

Checking patch doc/src/sgml/ecpg.sgml...
Applied patch doc/src/sgml/ecpg.sgml cleanly.
warning: 1 line adds whitespace errors.
[snaga@devwa02 postgresql]$

Sorry I'm not familiar with Git yet, but I think above command can
apply the patch.
(I created the patch with the command `git diff'. Is this correct?)

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 03:40                       ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
  2010-09-28 04:06                         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-28 05:08                           ` Alvaro Herrera <alvherre@commandprompt.com>
  2010-09-28 09:28                             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Alvaro Herrera @ 2010-09-28 05:08 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Greg Smith <greg@2ndquadrant.com>; Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

Excerpts from Satoshi Nagayasu's message of mar sep 28 00:06:19 -0400 2010:
> On 2010/09/28 12:40, Alvaro Herrera wrote:

> > Looking at this patch I cannot but wonder if this should be a table
> > instead of a plain list.
> 
> What's happen if you run the patch command at top of the repository?

Sorry, I didn't try applying it.  I don't think there's anything wrong
with the patch per se.  I'm just saying that maybe this page needs more
significant SGML markup hacking.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 03:40                       ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
  2010-09-28 04:06                         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 05:08                           ` Re: ECPG - Some errno definitions don't match to the manual Alvaro Herrera <alvherre@commandprompt.com>
@ 2010-09-28 09:28                             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 0 replies; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-28 09:28 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; +Cc: Greg Smith <greg@2ndquadrant.com>; Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

On 2010/09/28 14:08, Alvaro Herrera wrote:
> Excerpts from Satoshi Nagayasu's message of mar sep 28 00:06:19 -0400 2010:
>> On 2010/09/28 12:40, Alvaro Herrera wrote:
>
>>> Looking at this patch I cannot but wonder if this should be a table
>>> instead of a plain list.
>>
>> What's happen if you run the patch command at top of the repository?
>
> Sorry, I didn't try applying it.  I don't think there's anything wrong
> with the patch per se.  I'm just saying that maybe this page needs more
> significant SGML markup hacking.

I see. Yes, at first, I thought it, too.

However, at this time,  I think SGML hack is not necessary right now,
because the important thing is to fix several missing definitions,

So, I want to hear from others on this issue before starting SGML hack
(such as "create a table instead of a list").
If markup hack is necessary for this time, I'm ready to go.

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-29 11:04                       ` Peter Eisentraut <peter_e@gmx.net>
  2010-09-29 12:17                         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  1 sibling, 1 reply; 25+ messages in thread

From: Peter Eisentraut @ 2010-09-29 11:04 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: pgsql-docs

On tis, 2010-09-28 at 11:38 +0900, Satoshi Nagayasu wrote:
> On 2010/09/28 10:31, Greg Smith wrote:
> > If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that.
> 
> So, I have created another patch from git repository.
> The attached one could be applied to the latest code.

Committed, with some adjustments.  Notably, you probably misinterpreted
the meaning of the -600 error code from the comment in header file.
Also, the -600 and -601 codes are not generated by the current code at
all, so I have commented them out in the documentation.





^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 02:38                     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-29 11:04                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
@ 2010-09-29 12:17                         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 0 replies; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-29 12:17 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-docs

On 2010/09/29 20:04, Peter Eisentraut wrote:
> On tis, 2010-09-28 at 11:38 +0900, Satoshi Nagayasu wrote:
>> On 2010/09/28 10:31, Greg Smith wrote:
>>> If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that.
>>
>> So, I have created another patch from git repository.
>> The attached one could be applied to the latest code.
>
> Committed, with some adjustments.  Notably, you probably misinterpreted
> the meaning of the -600 error code from the comment in header file.
> Also, the -600 and -601 codes are not generated by the current code at
> all, so I have commented them out in the documentation.

Thank you for the commit.

Yes, I have checked only the header file (ecpgerrno.h), and not checked
several caller functions. So, your commit seems to be an appropriate way.

Thanks,
-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
@ 2010-09-28 06:46                     ` Tom Lane <tgl@sss.pgh.pa.us>
  2010-09-28 12:27                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 1 reply; 25+ messages in thread

From: Tom Lane @ 2010-09-28 06:46 UTC (permalink / raw)
  To: Greg Smith <greg@2ndquadrant.com>; +Cc: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; Robert Haas <robertmhaas@gmail.com>; Peter Eisentraut <peter_e@gmx.net>; pgsql-docs

Greg Smith <greg@2ndquadrant.com> writes:
> I just made a pass through the wiki cleaning up all of the outdated CVS 
> related stuff I knew of there that this page was pointing to.  It's a 
> sequential group of 9 changes to revert if we're forsaken and somehow 
> this conversion stops.  Main thing left with obsolete info is 
> http://developer.postgresql.org/pgdocs/postgres/cvs.html

Hrm, that page shouldn't even exist anymore.  Peter?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
@ 2010-09-28 12:27                       ` Peter Eisentraut <peter_e@gmx.net>
  2010-09-30 07:00                         ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Peter Eisentraut @ 2010-09-28 12:27 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Greg Smith <greg@2ndquadrant.com>; Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; Robert Haas <robertmhaas@gmail.com>; pgsql-docs

On tis, 2010-09-28 at 02:46 -0400, Tom Lane wrote:
> Greg Smith <greg@2ndquadrant.com> writes:
> > I just made a pass through the wiki cleaning up all of the outdated CVS 
> > related stuff I knew of there that this page was pointing to.  It's a 
> > sequential group of 9 changes to revert if we're forsaken and somehow 
> > this conversion stops.  Main thing left with obsolete info is 
> > http://developer.postgresql.org/pgdocs/postgres/cvs.html
> 
> Hrm, that page shouldn't even exist anymore.  Peter?

I've changed the doc build to use rsync so that orphaned files get
deleted.





^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
  2010-09-28 12:27                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
@ 2010-09-30 07:00                         ` Greg Smith <greg@2ndquadrant.com>
  2010-09-30 08:08                           ` Re: ECPG - Some errno definitions don't match to the manual Magnus Hagander <magnus@hagander.net>
  0 siblings, 1 reply; 25+ messages in thread

From: Greg Smith @ 2010-09-30 07:00 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; Robert Haas <robertmhaas@gmail.com>; pgsql-docs

Peter Eisentraut wrote:
> On tis, 2010-09-28 at 02:46 -0400, Tom Lane wrote:
>   
>> Greg Smith <greg@2ndquadrant.com> writes:
>>     
>>> I just made a pass through the wiki cleaning up all of the outdated CVS 
>>> related stuff I knew of there that this page was pointing to.  It's a 
>>> sequential group of 9 changes to revert if we're forsaken and somehow 
>>> this conversion stops.  Main thing left with obsolete info is 
>>> http://developer.postgresql.org/pgdocs/postgres/cvs.html
>>>       
>> Hrm, that page shouldn't even exist anymore.  Peter?
>>     
>
> I've changed the doc build to use rsync so that orphaned files get
> deleted.
>   

That one is fixed.  Doesn't look like the incoming path from the main 
postgresql.org page is completely sorted out yet though now that I check 
that too.  If people start at http://www.postgresql.org/developer/coding 
and click "Information about the Source Code Repository", they'll head 
to http://www.postgresql.org/docs/current/static/git.html - good so far 
- but clicking on "Up" from there goes to the 9.0 
http://www.postgresql.org/docs/current/static/cvs.html still, suggesting 
the official repo is the CVS one.

Not sure if that is just cached stuff on the static pages that Peter's 
rsync change will clear eventually too, or if that's a final piece that 
needs a backport to fix.

-- 
Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book

^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
  2010-09-28 12:27                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-30 07:00                         ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
@ 2010-09-30 08:08                           ` Magnus Hagander <magnus@hagander.net>
  2010-09-30 16:23                             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Magnus Hagander @ 2010-09-30 08:08 UTC (permalink / raw)
  To: Greg Smith <greg@2ndquadrant.com>; +Cc: Peter Eisentraut <peter_e@gmx.net>; Tom Lane <tgl@sss.pgh.pa.us>; Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; Robert Haas <robertmhaas@gmail.com>; pgsql-docs

On Thu, Sep 30, 2010 at 09:00, Greg Smith <greg@2ndquadrant.com> wrote:
> Peter Eisentraut wrote:
>
> On tis, 2010-09-28 at 02:46 -0400, Tom Lane wrote:
>
>
> Greg Smith <greg@2ndquadrant.com> writes:
>
>
> I just made a pass through the wiki cleaning up all of the outdated CVS
> related stuff I knew of there that this page was pointing to.  It's a
> sequential group of 9 changes to revert if we're forsaken and somehow
> this conversion stops.  Main thing left with obsolete info is
> http://developer.postgresql.org/pgdocs/postgres/cvs.html
>
>
> Hrm, that page shouldn't even exist anymore.  Peter?
>
>
> I've changed the doc build to use rsync so that orphaned files get
> deleted.
>
>
> That one is fixed.  Doesn't look like the incoming path from the main
> postgresql.org page is completely sorted out yet though now that I check
> that too.  If people start at http://www.postgresql.org/developer/coding and
> click "Information about the Source Code Repository", they'll head to
> http://www.postgresql.org/docs/current/static/git.html - good so far - but
> clicking on "Up" from there goes to the 9.0
> http://www.postgresql.org/docs/current/static/cvs.html still, suggesting the
> official repo is the CVS one.
>
> Not sure if that is just cached stuff on the static pages that Peter's rsync
> change will clear eventually too, or if that's a final piece that needs a
> backport to fix.

No.

Peters rsync changes only affects the developer docs. The ones you are
looking at are the 9.0.0 docs. They are "stuck" at 9.0.0 until we
release 9.0.1, which is when they'll pick up the new text about the
git repo.

If we hadn't scheduled a 9.0.1 release fairly soon I'd look at somehow
getting that back in the old version, but given that we have, it's
just more work than it's worth (the docs handling on the website is
not very nice at this point - something that's being worked on)


-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
  2010-09-28 12:27                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-30 07:00                         ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-30 08:08                           ` Re: ECPG - Some errno definitions don't match to the manual Magnus Hagander <magnus@hagander.net>
@ 2010-09-30 16:23                             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-30 23:58                               ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  0 siblings, 1 reply; 25+ messages in thread

From: Satoshi Nagayasu @ 2010-09-30 16:23 UTC (permalink / raw)
  To: Magnus Hagander <magnus@hagander.net>; +Cc: Greg Smith <greg@2ndquadrant.com>; Peter Eisentraut <peter_e@gmx.net>; Tom Lane <tgl@sss.pgh.pa.us>; Robert Haas <robertmhaas@gmail.com>; pgsql-docs

On 2010/09/30 17:08, Magnus Hagander wrote:
> Peters rsync changes only affects the developer docs. The ones you are
> looking at are the 9.0.0 docs. They are "stuck" at 9.0.0 until we
> release 9.0.1, which is when they'll pick up the new text about the
> git repo.
>
> If we hadn't scheduled a 9.0.1 release fairly soon I'd look at somehow
> getting that back in the old version, but given that we have, it's
> just more work than it's worth (the docs handling on the website is
> not very nice at this point - something that's being worked on)

I think the easiest way to avoid(my) misunderstanding is
to put some note, like "Use Git to make your patch",
on the Coding page.

http://www.postgresql.org/developer/coding

Since it was my entry point, I guess it's enough for now,
even if 9.0.1 will take more time (or not). :)

-- 
NAGAYASU Satoshi <satoshi.nagayasu@gmail.com>



^ permalink  raw  reply  [nested|flat] 25+ messages in thread

* Re: ECPG - Some errno definitions don't match to the manual
  2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-09 12:27 ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-09 16:36   ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-10 03:29     ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-08-11 19:08       ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-08-12 00:51         ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-26 11:57           ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-27 22:51             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 00:40               ` Re: ECPG - Some errno definitions don't match to the manual Robert Haas <robertmhaas@gmail.com>
  2010-09-28 00:55                 ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
  2010-09-28 01:31                   ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-28 06:46                     ` Re: ECPG - Some errno definitions don't match to the manual Tom Lane <tgl@sss.pgh.pa.us>
  2010-09-28 12:27                       ` Re: ECPG - Some errno definitions don't match to the manual Peter Eisentraut <peter_e@gmx.net>
  2010-09-30 07:00                         ` Re: ECPG - Some errno definitions don't match to the manual Greg Smith <greg@2ndquadrant.com>
  2010-09-30 08:08                           ` Re: ECPG - Some errno definitions don't match to the manual Magnus Hagander <magnus@hagander.net>
  2010-09-30 16:23                             ` Re: ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
@ 2010-09-30 23:58                               ` Greg Smith <greg@2ndquadrant.com>
  0 siblings, 0 replies; 25+ messages in thread

From: Greg Smith @ 2010-09-30 23:58 UTC (permalink / raw)
  To: Satoshi Nagayasu <satoshi.nagayasu@gmail.com>; +Cc: Magnus Hagander <magnus@hagander.net>; Peter Eisentraut <peter_e@gmx.net>; Tom Lane <tgl@sss.pgh.pa.us>; Robert Haas <robertmhaas@gmail.com>; pgsql-docs

Satoshi Nagayasu wrote:
> I think the easiest way to avoid(my) misunderstanding is
> to put some note, like "Use Git to make your patch",
> on the Coding page.
>
> http://www.postgresql.org/developer/coding

If you visit that page again right now, you'll find it hard to reach a 
destination that doesn't talk about git instead of CVS.  "Information 
about the Source Code Repository", the FAQ, "Developer Section on 
wiki.postgresql.org", every one of those has now been corrected.  The 
one way left you can still get the impression the project uses CVS will 
go away when 9.0.1 ships, but even that one is a secondary link--one you 
only see after a visit to a page talking about git.

Thanks for the report and sorry about the confusion.  I don't think 
people who visit the "Coding" page are likely to run into the problem 
you did at this point anymore.  Everything that can be easily cleaned up 
is now, and that one stray CVS reference will go away shortly.

-- 
Greg Smith, 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book




^ permalink  raw  reply  [nested|flat] 25+ messages in thread


end of thread, other threads:[~2010-09-30 23:58 UTC | newest]

Thread overview: 25+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 13:29 ECPG - Some errno definitions don't match to the manual Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-08-09 12:27 ` Robert Haas <robertmhaas@gmail.com>
2010-08-09 16:36   ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-08-10 03:29     ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-08-11 19:08       ` Robert Haas <robertmhaas@gmail.com>
2010-08-12 00:51         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-26 11:57           ` Peter Eisentraut <peter_e@gmx.net>
2010-09-27 22:51             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-27 23:29               ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-28 00:40               ` Robert Haas <robertmhaas@gmail.com>
2010-09-28 00:55                 ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-28 01:31                   ` Greg Smith <greg@2ndquadrant.com>
2010-09-28 02:38                     ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-28 03:40                       ` Alvaro Herrera <alvherre@commandprompt.com>
2010-09-28 04:06                         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-28 05:08                           ` Alvaro Herrera <alvherre@commandprompt.com>
2010-09-28 09:28                             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-29 11:04                       ` Peter Eisentraut <peter_e@gmx.net>
2010-09-29 12:17                         ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-28 06:46                     ` Tom Lane <tgl@sss.pgh.pa.us>
2010-09-28 12:27                       ` Peter Eisentraut <peter_e@gmx.net>
2010-09-30 07:00                         ` Greg Smith <greg@2ndquadrant.com>
2010-09-30 08:08                           ` Magnus Hagander <magnus@hagander.net>
2010-09-30 16:23                             ` Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
2010-09-30 23:58                               ` Greg Smith <greg@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox