pg_query result contains strings instead of integer, numeric

That’s what PHP does. From the manual:

Each value in the array is represented as a string.

Leave a Comment