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

    Unanswered: Access PostgreSQL trough sockets in FreeBSD

    Hi,

    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
    m.sc. astrophysics

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

  3. #3
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    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.
    Lou
    使大吃一惊
    "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
  •