]> granicus.if.org Git - postgresql/commit
Remove unnecessary #ifdef FRONTEND check to choose between strdup and pstrdup.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 8 Mar 2013 09:21:44 +0000 (11:21 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 8 Mar 2013 09:23:33 +0000 (11:23 +0200)
commit2443a26b9b905e66cd9b95a2faf57e1f1ebcafb1
tree9f2c681d7c322558e285a65f347f95101fc6d6e6
parent71877c18a869b858f69e813659ed4bb22b117c4a
Remove unnecessary #ifdef FRONTEND check to choose between strdup and pstrdup.

The libpgcommon patch made that unnecessary, palloc and friends are now
available in frontend programs too, mapped to plain old malloc.

As pointed out by Alvaro Herrera.
src/port/wait_error.c