1

I know what's this function do, but I can't find out a mnemonic for "cmd" in it. It wolud really helps me to remember this function name. Maybe someone knows? :)

user3616181
  • 975
  • 2
  • 8
  • 27
  • 1
    perhaps "command"? From the official docs: "PQcmdTuples Returns the number of rows affected by the SQL command." – The Paramagnetic Croissant Jun 21 '14 at 16:00
  • 1
    Same reason `cmd.exe` is the Windows NT equivalent of MS-DOS's old `command.com` (where the `com` *also* stands for command, I believe, it being a command for working with commands...). – IMSoP Jun 21 '14 at 16:22

2 Answers2

2

"cmd" usually stands for "command"

adjan
  • 13,371
  • 2
  • 31
  • 48
1

According to the PostgreSQL Reference Manual it means 'command'.

Richard Fearn
  • 25,073
  • 7
  • 56
  • 55