Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2012

    Unanswered: Access PostgreSQL trough sockets in FreeBSD


    Is it possible to write and read records in PostgreSQL database. Actually I would like to write C program in FreeBSD that would read sockets and than write to PostgreSQL database and reverse, to read from PostgreSQL database and to send sockets to some TCP/IP address.

    thanks in advance,

    programmer astrophysics

  2. #2
    Join Date
    Nov 2003
    Provided Answers: 23
    Do you mean read and write without using SQL?
    No that is not possible.

  3. #3
    Join Date
    Jun 2004
    Arizona, USA
    If you're trying to improve client I/O performance, look at interfacing through the libpq C library.

    And, of course, before coding anything, start with a normalized table structure, and only denormalize when truly necessary.
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts