Re: Tsearch2 update for Win32. - Mailing list pgsql-patches

From Dave Page
Subject Re: Tsearch2 update for Win32.
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7A8E@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Tsearch2 update for Win32.  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-patches

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 08 September 2004 15:49
> To: Magnus Hagander
> Cc: Dave Page; PostgreSQL-patches
> Subject: Re: [PATCHES] Tsearch2 update for Win32.
>
> I was about to mention trapping errors as being a likely weak
> spot of custom-script-execution code.  And have you
> duplicated psql's rather extensive logic for determining
> where SQL commands end?

No. Currently it just feeds the scripts into PQexec in one go with no
parsing. There's a fair bit of work to do as well as this so we're
crossing bridges as we get to them, And as there aren't any contribs
with $ quoting yet (that I've found so far anyway)...

Anyway, no need to get annoyed - if it were more than a few inserts in
one file, I would be looking to enhance our code; I've no wish to make
the core distro any less maintainable.readable/whatever.

Regards, Dave.

pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: Tsearch2 update for Win32.
Next
From: Andrew Dunstan
Date:
Subject: Re: Tsearch2 update for Win32.