https://questdb.io logo
Title
f

Fatima

04/25/2023, 5:35 PM
One more question: in Python there is the library "psycopg". Is there a similar library for C language?
n

Nicolas Hourcard

04/25/2023, 5:39 PM
Hello, you want to query SQL via the PGwire, and looking for a library like psycopg but for C?
f

Fatima

04/25/2023, 5:43 PM
yes
I´m looking for a library to use with ESP32 microcontroler
a

Alex Pelagenko

04/25/2023, 5:49 PM
are you sure it’s C? Your syntax looks C# to me
ah, I’m wrong
seems like it’s libpq
f

Fatima

04/25/2023, 5:53 PM
yeah, but there isn´t libpq in PlatformIO
and I can´t identify another
for now, I will use http resp api to send data from esp32 to questdb
a

Alex Pelagenko

04/25/2023, 5:55 PM
do you want to insert from a device? you may be able to use ILP
f

Fatima

04/25/2023, 5:56 PM
I don´t know ILP yet
I will try ILP later. Thak you
n

Nicolas Hourcard

04/25/2023, 5:59 PM
its our ingestion protocol of choice !
what is the scale of your ingestion roughly?
f

Fatima

04/25/2023, 6:01 PM
just 32 values each 5 min
n

Nicolas Hourcard

04/25/2023, 6:03 PM
ok, that should be easy !
are you able to share the kind of sensor data this is ?
f

Fatima

04/25/2023, 6:04 PM
it´s a termocouple sensor
n

Nicolas Hourcard

04/25/2023, 6:05 PM
Thanks!