Tom, Andrew,
We have the same issue in our product: Support UTF-8 on Windows.
You know certainly that UTF-8 code page (65001) is no supported by MS Windows
when you set the locale with setlocale(). You cannot rely on standard libc
functions such as isalpha(), mbtowc(), mbstowc(), wctomb(),
Hi all,
I would appreciate some help or comments on this topic...
Is this the wrong mailing list to ask such question?
Seb
On 10/18/2012 10:15 AM, Sebastien FLAESCH wrote:
Hello,
Using PostgreSQL 9.2.1 on Windows, I am facing a strange character set
issue
with a UTF-8 database.
Maybe
to use a C collation and char type for UTF-8
databases on Windows?
I know that UTF-8 is not supported by the Windows C/POSIX library (setlocale,
and co).
Does it mean that it's not realistic to use UTF-8 encoding for PostgreSQL
databases on Windows...?
Thanks for reading.
Sebastien FLAESCH
Four Js
to use a C collation and char type for UTF-8
databases on Windows?
I know that UTF-8 is not supported by the Windows C/POSIX library (setlocale,
and co).
Does it mean that it's not realistic to use UTF-8 encoding for PostgreSQL
databases on Windows...?
Thanks for reading.
Sebastien FLAESCH
Four Js
operators and functions) are not
100% SQL99, but they are close...
Thanks a lot!
Seb
Tom Lane wrote:
Sebastien FLAESCH s...@4js.com writes:
I would expect that an INTERVAL SECOND can store more that 59 seconds.
I took a look into the SQL spec and I think that we do indeed have a
spec compliance
Hello,
I try to use the new 8.4 INTERVAL type with libpq, but get crazy with
the input formatting rules...
I use PQprepare() / PQexecPrepared() with parameter list, binding the
INTERVAL values with the 1186 pg_type (is this ok?) and passing a
string buffer with values like:
12345 for an
Hi All,
I am new to this mailing list and want to participate to the 8.3.0 beta program.
(Sorry to be late BTW)
My name is Sebastien FLAESCH and I am in charge of the database interfaces at
Four J's Development Tools.
Our product is a Informix 4gl compatible compiler / runtime system.
I
Sorry I should have double checked, it's my fault.
I do not CLOSE the cursor before the third PQexecPrepare()...
Never mind.
Seb
Sebastien FLAESCH wrote:
Hi All,
I am new to this mailing list and want to participate to the 8.3.0 beta
program.
(Sorry to be late BTW)
My name is Sebastien
about the overhead/cost of moving to DECLARE CURSOR,
it would help me a lot.
Remember I am talking about a driver for our VM = moving to DECLARE
CURSOR would apply to all SELECT statements used in an application.
Thanks
Seb
Florian G. Pflug wrote:
Sebastien FLAESCH wrote:
Forget this one, just
. Pflug wrote:
Sebastien FLAESCH wrote:
Forget this one, just missing the WITH HOLD option... Must teach
myself a bit
more before sending further mails. Seb
AFAIK you cannot use WITH HOLD together with updateable cursors.
I might be wrong, though...
regards, Florian Pflug
Tool
vendor and have a bunch of customers migrating legacy applications from
Informix to PostgreSQL...
Thanks a lot!
Sebastien FLAESCH
Database Interfaces
Four J's Development Tools
---(end of broadcast)---
TIP 9: In versions below 8.0, the planner
statement not create a cursor on
the server side? If yes, would it not be possible to pass a cursor name
as in ODBC?
Best regards,
Seb
Heikki Linnakangas wrote:
Sebastien FLAESCH wrote:
Just looked at the new features of 8.3 and realized that positioned
updates/deletes is now possible with this new
Tom Lane wrote:
Sebastien FLAESCH [EMAIL PROTECTED] writes:
Does a simple PQPrepare() with a SELECT statement not create a cursor on
the server side?
No. A prepared statement is just a query plan, not a query-in-progress.
Yes of course, I meant PQprepare() + PQexecPrepared
Forget this one, just missing the WITH HOLD option...
Must teach myself a bit more before sending further mails.
Seb
Sebastien FLAESCH wrote:
Ok...
Tested with 8.2.3:
Actually you can't DECLARE a cursor outside a transaction:
test1= declare c1 cursor for select * from dbit2;
ERROR: DECLARE
.
Anyway, thanks for your help.
Seb
Tom Lane wrote:
Sebastien FLAESCH [EMAIL PROTECTED] writes:
Does a simple PQPrepare() with a SELECT statement not create a cursor on
the server side?
No. A prepared statement is just a query plan, not a query-in-progress.
The Bind/Execute messages sent
15 matches
Mail list logo