Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
Date
Msg-id 411F8B24.5060609@dunslane.net
Whole thread Raw
In response to Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
List pgsql-hackers

Tom Lane wrote:

>"Andrew Dunstan" <andrew@dunslane.net> writes:
>  
>
>>There's another question this bug raises, though. Why doesn't the server
>>protest when it sees more copy data passed in after it sees the end marker?
>>    
>>
>
>Whether it did or not would make not the slightest bit of difference,
>since (without the patch) psql isn't going to be looking for an error
>response.
>
>
>  
>

True, but an indication of an error on the server log might have been 
nice. We have now made psql
behave correctly, but there is no guarantee that other clients will 
behave correctly. Surely sending
copy data after the end marker is sent should be an error.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Savepoint weirdness
Next
From: Tom Lane
Date:
Subject: Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to