Why is the Postgres C library called libpq instead of libpg?
Asked Answered
J

1

11

Everything in the Postgres world has common abbreviation pg, and it seems more logical to call Postgres' c-library libpg, rather than libpq. Why is it called libpq? Is libpg already taken by another tool?

Jamarjamb answered 17/10, 2015 at 15:30 Comment(0)
O
13

From https://pgolub.wordpress.com/2010/09/21/libpq-stands-for/, credited to Bruce Momjian:

Libpq is called ‘libpq’ because of the original use of the QUEL query language, i.e. lib Post-QUEL. We have a proud backward-compatibility history with this library.

Outfield answered 17/10, 2015 at 15:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.