From: | "Carlo Stonebanks" <stonec(dot)register(at)sympatico(dot)ca> |
---|---|
To: | <kescobar(at)estudiantes(dot)uci(dot)cu>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: What language is faster, C or PL/PgSQL? |
Date: | 2013-02-02 17:36:04 |
Message-ID: | 033801ce016b$c6b03c10$5410b430$@sympatico.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Here is an advantage Plpgsql has:
http://www.postgresql.org/docs/9.1/static/plpgsql-expressions.html
I guess you can offset this by creating your own prepared statements in C.
Otherwise, I cant think of how C could be slower. I would choose C for
functions that dont have SQL statements in them e.g. math and string
processing.
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Karel Riverón
Escobar
Sent: February 2, 2013 10:42 AM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] What language is faster, C or PL/PgSQL?
Hi people,
I need to write an algorithm for processing large amounts of data. I want to
write a function on PgAdmin 3 to solve my problem. I need to know what
language should be used, C or PL/PgSQL?
Needless to say, what I need is quickly. What language is faster, C or
PL/PgSQL?
Greetings, Karel Riverón
University of Informatics Science
From | Date | Subject | |
---|---|---|---|
Next Message | Edson Richter | 2013-02-03 02:25:01 | Diferences between IN and EXISTS? |
Previous Message | Ovnicraft | 2013-02-02 17:04:46 | Re: What language is faster, C or PL/PgSQL? |